Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Interview-Questions difference between == and === operators?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


venkata santosh
difference between == and === operators?
1 Answer(s)      3 years and 5 months ago
Posted in : Java Interview Questions


Is (====) operator available in java or not?

difference between == and ===


Advertisement
View Answers

May 23, 2011 at 11:25 AM


The difference between the two is that '==' should be used to check if the values of the two operands are equal or not. On the other hand, '===' checks the values as well as the type of operands.



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com