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