fork download
  1. public class TipTop
  2. {
  3. static final Integer i1 = 1;
  4. final Integer i2 = 2;
  5. Integer i3 = 3;
  6.  
  7. public static void main(String[] args)
  8. {
  9. final Integer i4 = 4;
  10. Integer i5 = 5;
  11.  
  12. class Inner
  13. {
  14. final Integer i6 = 6;
  15. Integer i7 = 7;
  16.  
  17. Inner()
  18. {
  19. System.out.print(i6 + i7);
  20. }
  21. }
  22. }
  23. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class TipTop is public, should be declared in a file named TipTop.java
public class TipTop
       ^
1 error
stdout
Standard output is empty