OCA Java SE 8 Mock Exam Review - OCA Mock Question 14








Question

What operator is used to determine the type of an object?

  1. isType
  2. typeOf
  3. instanceof
  4. instanceOf




Answer



C

Note

The other methods do not exist.