What is == and === in Java?

1) When we compare two variables of different type e.g. a boolean with a string or a number with String using == operator, it automatically converts one type into another and return value based upon content equality, while === operator is strict equality operator in Java, and only return true if both variable of same …18 Tem 2021

Sizin İçin Seçtik  How do you trim a number in Java?

Leave a Reply

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