Multiple choice

What is 'instanceof'?

  1. It is an operator.

  2. It is a keyword.

  3. It is an interface.

  4. None of these

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

'instanceof' is an operator, which is used to know the type of an object during runtime.