// "Cast to 'A'" "true" class A { void foo(Object foo) { if(foo instanceof A) { System.out.println(""); } } }