class C { void m(String arg) { if (arg instanceof String) { System.out.println(arg); } } }