Created
December 19, 2023 17:01
-
-
Save mounicasrinivas/710c45a8e2d749bd448654aab84ebf8e to your computer and use it in GitHub Desktop.
Access The second Element
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
int secondElement = myArray[1]; | |
System.out.println("The second element is: " + secondElement); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment