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



June 06, 2008 10:57:26 #9
 amit23347 J2EE Expert  Member Since: June 2008    Total Comments: 1 

RE: What is the difference between == & .equals
 
In case of .equals,the contents of the objects are compared.
in case of ==,the data types of objects are compared.
     

 

Back To Question