class demo{public static void main(String args[])throws IoException{int n =Integer.parseInt(args[0]);assert n>0:"no is -ve";System.out.println("no is +");}}
Standard input is empty
Main.java:3: error: cannot find symbol public static void main(String args[])throws IoException ^ symbol: class IoException location: class demo 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!