fork download
  1. class demo
  2. {
  3. public static void main(String args[])throws IoException
  4. {
  5. int n =Integer.parseInt(args[0]);
  6. assert n>0:"no is -ve";
  7. System.out.println("no is +");
  8. }
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:3: error: cannot find symbol
public static void main(String args[])throws IoException
                                             ^
  symbol:   class IoException
  location: class demo
1 error
stdout
Standard output is empty