Stuart A. Burkett
posted 3 years ago
use of "Instance of" in java says -
Bascially, you check if an object is an instance of a specific class. You normally use it, when you have a reference or parameter to an object that is of a super class or interface type and need to know whether the actual object has some other type (normally more concrete).