What is a == b in Java?

a==b is a condition checking or you can call it a comparison operator which checks whether the value of a and b are equal or not . Edit: the == is also used in Java with reference variables to check whether both of them are pointing to the same reference or not.

Sizin İçin Seçtik  Is Dubai a city or a country?

Leave a Reply

Your email address will not be published. Required fields are marked *