Instanceof sentence example

instanceof
  • Feedback Modify Exercise 1 so that it uses instanceof to check the type before performing the downcast.
    0
    0
  • In the preceding example you might feel that it's tedious to write out all of those instanceof expressions, and you're right.
    0
    0