Why we should avoid Instanceof in Java?

The java “instanceof” operator is used to test whether the object is an instance of the specified type (class or subclass or interface) . If we apply this operator with any variable that has null value, it returns false. …8 Haz 2018

Sizin İçin Seçtik  Should Instanceof be avoided?

Leave a Reply

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