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....
codegallery.hashnode.dev2 min read
SKV
Student
Nice explanation....!!!!!