Created
June 20, 2020 18:58
-
-
Save LaurentiuGabriel/6567e535bdb2f6292ccf5ef240fe8582 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 App { | |
| public static void main(String[] args) { | |
| int myVariable = 55; | |
| int [] myArray = new int[3]; | |
| int[] myArray2 = {1, 2, 3}; | |
| myArray[0] = 1; | |
| myArray[1] = 2; | |
| myArray[2] = 3; | |
| System.out.println(myArray[0]); | |
| System.out.println(myArray[2]); | |
| System.out.println(myArray[1]); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment