public class Example {
public static void main(String[] args) {
if(args.length > 0) {
System.out.println(args[0]);
} else {
System.out.println("Usage:java Example abc");
}
}
}
------解决方案--------------------
------解决方案-------------------- D:\2c\ws\sock>cd bin