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



September 09, 2005 06:06:07 #6
 Vinay Kumar   Member Since: Visitor    Total Comments: N/A 

RE: What is the difference between == & .equals
 

== is used for checking the datatypes values like int,float,double..

.equals is used to check the Objects like String,Vector ....

     

 

Back To Question