instanceof operator in java
Let’s learn instanceof operator in java. instanceof operator in java instanceof operator is used to check whether the object is an instance of specified type. Type can be a class or a subclass or an interface. instanceof operator returns either true or false. It is also known as comparison operator. Let’s see example on instanceof…
Read More instanceof operator in java