Share on Google+Share on Google+

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

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

difference between == and ===


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.


Advertisement null