- 6 What Is The Output Of The Following Java Code Public Static Void Main String Args Int Myarray 1 2 3 4 5 1 (52.59 KiB) Viewed 36 times
6. What is the output of the following Java code? public static void main(String[] args) { int myArray = (1, 2, 3, 4, 5)
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
6. What is the output of the following Java code? public static void main(String[] args) { int myArray = (1, 2, 3, 4, 5)
6. What is the output of the following Java code? public static void main(String[] args) { int myArray = (1, 2, 3, 4, 5); doit myArray); System.out.print( myArray[j] public static void doIt( int[] 2 ) int temp = z[ 2.length-1 ] ; z [0] temp; A 52 3 4 5 B. 12345 C. 51234 D. 123 44 F