Examveda
Examveda

In Java, what is the purpose of the Arrays.equals() method?

A. To check if two arrays are equal.

B. To concatenate two arrays.

C. To find the common elements between two arrays.

D. To remove duplicate elements from an array.

Answer: Option A


This Question Belongs to Java Program >> Array

Join The Discussion

Related Questions on Array