class TestInstanceof { public static void main(String[] args) { Integer i=5; Boolean b; b=(i instanceof Integer); System.out.print(b); b=(i instanceof Number);…
class TestInstanceof { public static void main(String[] args) { Integer i=5; Boolean b; b=(i instanceof Integer); System.out.print(b); b=(i instanceof Number);…