What is an Instanceof keyword?

The instanceof keyword checks whether an object is an instance of a specific class or an interface . The instanceof keyword compares the instance with type. The return value is either true or false .

Sizin İçin Seçtik  What is getType method?

Leave a Reply

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