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.


šŸ“² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.