Q:

How to prevent the ClassCastExceptions?

0

How to prevent the ClassCastExceptions?


  1. By using instanceof
  2. By using is-a check
  3. By using arrow operator with check function
  4. By checking type of conversion

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(a).By using instanceof

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now