Is Instanceof a string?

The Java instanceof keyword is used to check if an object is a certain type. It returns true or false. For example, we can check if a variable is a type of String ; we can test classes to see if they are certain types (e.g., is a Birch a Tree or a BoysName?).

Sizin İçin Seçtik  Kepenek ne demekdir?

Leave a Reply

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