Multiple choice

The ……………keyword is a two-argument operator that tests whether or not, the run time type of its first argument is assignment compatible with its second argument.

  1. final

  2. super

  3. instance of

  4. implicit

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The 'instanceof' operator in Java checks if an object is an instance of a specific class or implements a specific interface.