• +91 9723535972
  • info@interviewmaterial.com

Java Interview Questions and Answers

Question - How to check two arrays to see if contents have the same types and contain the same elements?

Answer - One of options is to use the equals() method of Arrays class. Arrays.equals(a, b); If the array types are different, a compile-time error will happen.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners