class Test { String myS = ""; void foo() { if (myS == null) { System.out.println(myS); } } }