What is the Relation between equals() and (==) Operator?
What is the Relation between equals() and (==) Operator? (==) operator is a binary operator in java which compares the two objects based on their location in the memory. That means if two reference variables are pointing to the same object in the memory then applying (==) operator on those reference variables will return . . . Read more