---
title: "What is an instanceof operator?"  
description: "What is an instanceof operator?"  
author: "Sumit Kesarwani"  
published: 2014-02-10  
updated: 2020-09-16  
canonical: https://www.mindstick.com/interview/1921/what-is-an-instanceof-operator  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# What is an instanceof operator?

Instanceof is an object reference operator and returns true if the object on the left-hand side is an instance of the glass given to the right hand side.This operator allows to determine whether the object belongs to a particular class or not.

## Answers

### Answer by Sumit Kesarwani

Instanceof is an object reference operator and returns true if the object on the left-hand side is an instance of the glass given to the right hand side.This operator allows to determine whether the object belongs to a particular class or not.


---

Original Source: https://www.mindstick.com/interview/1921/what-is-an-instanceof-operator

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
