How private are private fields after all?

Last week, I sent the following brain teaser:

Can you write a void hack(Object obj) method that would change foo’s private member variable, so that the output looked like this? Psst: 74 A sharp developer came up with this solution:

Now there you have it. Just because a member is declared private doesn’t mean […]

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 […]