Does Instanceof work for superclass?

Yes, it would .


Leave a Reply

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