class Test{ public static void Foo(Object o) {} public static void main(String[] args) { Object bar; Foo(bar); }}
Standard input is empty
Main.java:5: error: variable bar might not have been initialized Foo(bar); ^ 1 error
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!