import java.util.Arrays;public class Main { public static void main(String[] args) { double[] a1 = new double[] { 1.3, 7.2, 4.2 }; double[] a2 = new double[] { 1.3, 7.2, 4.2 }; System.out.println(Arrays.equals(a1, a2)); }}