equals() VS ==
equals() is a method that compares the actual content of the object.
"==" is an operator that compares the memory or reference location of an object in the heap.
equals()
The String equals() function compares two strings based on their data/content....
·2 min read·codegallery.hashnode.devRead the article
SKV
Nice explanation....!!!!!