System.out.println("Protected values demo"); Protected p = new Protected(); p.process();
Protected2 p2 = new Protected2(); // can we spy into this? System.out.println("Process: " + p2.dat); p2.foo();