Does Instanceof work for superclass?

Yes, it would .

Sizin İçin Seçtik  Is subclass instance of superclass Java?

Leave a Reply

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