fork download
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. class Foo
  6. {
  7. private int x;
  8.  
  9. public Foo()
  10. {
  11. System.out.println(this);
  12.  
  13. this.x = 5;
  14. }
  15. }
  16.  
  17. class Main
  18. {
  19. public static void main (String[] args) throws java.lang.Exception
  20. {
  21. Foo foo = new Foo();
  22. }
  23. }
Success #stdin #stdout 0.04s 4386816KB
stdin
Standard input is empty
stdout
Foo@677327b6