What is Instanceof in Java?

What Is the instanceof Operator? instanceof is a binary operator used to test if an object is of a given type . The result of the operation is either true or false. It’s also known as type comparison operator because it compares the instance with type.6 Ağu 2020

Sizin İçin Seçtik  Is Instanceof a valid operator in Java?

Leave a Reply

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