News for hackers. Stuff that matters.
Re:Java is Pass-by-Value, Dammit by runT1ME on Wednesday December 01, 2010 @03:10AM (#1957229)
Almost EVERYONE I've interviewed, including senior programmers, think that if you do this:

   void nullThis(Object o) {
      o = null;
   }
   Object o = new Object;
   nullThis(o);
   System.out.println(o.toString());
throws a NPE

There are no comments on this comment yet.