I'd like to share with you this snip:

Is instance of
Volvo v = new Volvo();
if (v instanceof Volvo) {
    System.out.println("I'm b ……
Unicorn
Java
#check #instanceof