Does Instanceof work with subclasses?

The java “instanceof” operator is used to test whether the object is an instance of the specified type (class or subclass or interface) .8 Haz 2018

Sizin İçin Seçtik  What is Instanceof in Java?

Leave a Reply

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