GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  Programming  >  Java

 Print  |  
Question:   What is the difference between == & .equals



August 08, 2005 05:21:39 #2
 santoshini   Member Since: Visitor    Total Comments: N/A 

RE: What is the difference between == & .equals
 
== is equals is used for checking the equality of values of all datatypes, 
.equals is used for checking the equaliy of strings.
     

 

Back To Question