What is the functionality of instanceOf() ? - JAVA Interview Questions

What is the functionality of instanceOf() ?


instanceOf opertaor is used to check whether an object can be cast to a specific type without throwing ClassCastException.


Click Here to See Answer .....
Did you like this article ?
Subscribe to my RSS feed and get more JAVA Question, and Guideline, Plus a lot more great advice to help your Software Career.

0 comments:

Related JAVA Questions Posts