What is the functionality of instanceOf() ?

Showing Answers 1 - 1 of 1 Answers

Hari

  • May 9th, 2005
 

instanceOf opertaor is used to check whether the object can be casted to a specific type without throwing ClassCastException

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions