java Demo arg1 arg2 arg3 …
class Demo{ public static void main(String b[]){ System.out.println("Argument one = "+b[0]); System.out.println("Argument two = "+b[1]); } }