Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Trupti Patil   on Feb 20 In Java Category.

  
Question Answered By: Blandina Garcia   on Feb 20

The equals method will check with the contents of the
String are the same while the == will check if the
references are to the same object

so if(a == c) will equate to false.

Share: 

 

This Question has 5 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Questing about String Or get search suggestion and latest updates.


Tagged: