Styrow.dev
Question 162 of 247
Java Topic: General medium

What is keyword instanceOf used for?

Question

What is keyword instanceOf used for?

Answer

It is used to see if an object is an instance of a specific class.