Posts by Camilo • 1 point
2 posts
-
-2
votes4
answers430
viewsA: Print variable inside a repeat structure
In Java there is a strong typing, its variable soma was declared internally in the loop for, ie, it is visible only inside the loop. If you want to use it outside the loop for, I advise to declare…
-
-1
votes2
answers882
viewsA: Doubt about filling in Java Array
What do you want to put in the array? first the Array you created has 10 positions, you can fill it like this: Meuarray[i] = i; in this way you will fill the position i, which in the case is 0 to 9;…