fork download
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. class Ideone
  6. {
  7. public static void main (String[] args) throws java.lang.Exception
  8. {
  9.  
  10.  
  11. }
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:1: error: 'import' does not name a type
 import java.util.*;
 ^
prog.cpp:2:1: error: 'import' does not name a type
 import java.lang.*;
 ^
prog.cpp:3:1: error: 'import' does not name a type
 import java.io.*;
 ^
prog.cpp:7:9: error: expected ':' before 'static'
  public static void main (String[] args) throws java.lang.Exception
         ^
prog.cpp:7:27: error: 'String' has not been declared
  public static void main (String[] args) throws java.lang.Exception
                           ^
prog.cpp:7:36: error: expected ',' or '...' before 'args'
  public static void main (String[] args) throws java.lang.Exception
                                    ^
prog.cpp:7:40: error: expected ';' at end of member declaration
  public static void main (String[] args) throws java.lang.Exception
                                        ^
prog.cpp:7:42: error: 'throws' does not name a type
  public static void main (String[] args) throws java.lang.Exception
                                          ^
prog.cpp:12:1: error: expected ';' after class definition
 }
 ^
stdout
Standard output is empty