class A{ public A(String para1,String para2,String para3) { System.out.println(para1 + "/" + para2 + "/" + para3) ; } public static void main(String[] args) { new A(args[0],args[1],args[2]); } }
javac 1.java
java A p1 p2 p3
out :
p1/p2/p3