Question: java coding course: Data structures and algorithm What is the output of the following Java of code? public class array public static void main(String args[])
java coding

course: Data structures and algorithm
What is the output of the following Java of code? public class array public static void main(String args[]) { int []arr {3,4,5,6,7}; System.out.println(arr[2]); System.out.println(arr[4]); } } Select one: a. 4 and 7 b.5 and 7 c. 3 and 4 d. 5 and 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
