Created
September 18, 2019 03:16
-
-
Save brunorsch/b6539ae6d47a779a61f13b1cee65617d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String[] args) { | |
int[] array = new int[3]; | |
array[0] = 0; | |
array[1] = 1; | |
array[2] = 2; | |
array[3] = 3; | |
for(int i = 0; i < array.length; i++) { | |
System.out.print("Elemento #" + i + ": " + array[i]); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment