Skip to content

Instantly share code, notes, and snippets.

@mounicasrinivas
Created December 19, 2023 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mounicasrinivas/710c45a8e2d749bd448654aab84ebf8e to your computer and use it in GitHub Desktop.
Save mounicasrinivas/710c45a8e2d749bd448654aab84ebf8e to your computer and use it in GitHub Desktop.
Access The second Element
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