Hacker News new | ask | show | jobs
by kibwen 4896 days ago
pcwalton's point is that you must be explicit about initializing variables:

  int foo = 1;
  int bar;
  System.out.println(foo + bar);  // compile error: variable bar might not have been initialized