Posts by Narcieliton Lopes • 76 points
4 posts
-
1
votes3
answers543
viewsA: How to display a multidimensional array without looping?
You must refer to the first array array, and the position you want and so on. System.out.println(matriz[0][0]);//saida 1 System.out.println(matriz[0][1]); //saida 2 System.out.println(matriz[0][2]);…
-
1
votes3
answers377
viewsA: Problem with array in Java
If I may use List, do that you will be happier, if you cannot, you will have to create an object for each Array you created, because each position of the Array is waiting for an object and you are…
-
0
votes2
answers354
viewsA: Restful Angular
You are requesting a path that does not exist "/listacarrinho/rest/produtos/". Put that way like this /rest/produtos/listacarrinho and in the method of the Rest service, adds the…
-
4
votes2
answers238
viewsA: Why is this algorithm in Java not running?
In order to use a variable, it has to be in the scope of the method, in this case, the declaration of the variable salariobruto was missing. Java is a language that has "Case sensitive", IE, has…