Java | Arrays | Question 6ReadDiscussCoursesPracticeImprove Article ImproveSave Article SaveLike Article LikeOutput of following Java program?class Test{ public static void main (String[] args) { int arr1[] = {1, 2, 3}; int arr2[] = {1, 2, 3}; if (arr1 == arr2) System.out.println("Same"); else System.out.println("Not same"); }}(A) Same(B) Not SameAnswer: (B)Explanation: See https://www.geeksforgeeks.org/compare-two-arrays-java/Quiz of this QuestionLast Updated : 28 Jun, 2021Like Article Save Article Please Login to comment...