• == operator is used for reference comparison  or memory address , whether they point to same location or not
  • .equals() is used for content comparison

Post a Comment

Previous Post Next Post