class sample7 { public static void main(String []args) { int []a1 = {1, 2, 3, 4, 5}; int []a2 = {1, 2, 3, 4, 5}; System.out.println("a1 == a2 is" + (a1 == a2)); System.out.println("a1.equals(a2) is" + a1.equals(a2)); System.out.println("Arrays.equals(a1, a2) is" + java.util.Arrays.equals(a1, a2)); } }
Which of the following options provides the output of this program when executed?
Reveal answer
Fill a bubble to check yourself