How private are private fields after all?

Last week, I sent the following brain teaser: public class Foo { private int secret = 47; public Foo() { new Hacker().hack(this); } public String tellSecret() { return String.valueOf(secret); } public static void main(String[] args) { System.out.println(”How secret are private members? ..”); System.out.println(”Psst: ” + new Foo().tellSecret(); } } Can you write a void hack(Object […]

Why in the world would you think your cell phone would work in your house?

This obviously rhetorical question was asked by Ivan Seidenberg, Verizon‘s CEO. During a short trip to San Francisco last week, I stayed at the stunning Hyatt Regency San Francisco (thanks to a great deal I got on HotWire). The biz section of the morning newspaper, the San Francisco Chronicle had an interview with Verizon’s CEO that I found rather […]