1 2 3 4 5 6 7 8 9 10 11
import java.util.concurrent.atomic.AtomicReference; class Test { String s = ""; void foo() { if (s == null) { System.out.println(s); } } }