Java, Software development

Java Arrays Comparison: Use equals or deepEquals?

The equals Method return True if the two arrays are equal to one another if both arrays contain equal number of elements and corresponding elements are also equal. If both arrays are null then they are also considered as equal.  The equals method is used with Hashcode method to find the bucket of arrays. Two arrays are equal only if...

by Sandeep Gupta
Tag: HashCode
31-May-2016