Question: What does the following code fragment print? int[] a = { 1, 2, 3 }; int[] b = { 1, 2, 3 }; System.out.println(a ==
What does the following code fragment print?
int[] a = { 1, 2, 3 };
int[] b = { 1, 2, 3 };
System.out.println(a == b);
Step by Step Solution
3.50 Rating (160 Votes )
There are 3 Steps involved in it
The code youve shown is written in Java and its comparing two arrays a and ... View full answer
Get step-by-step solutions from verified subject matter experts
