Given:
1. public class Yippee {
2. public static void main(String [] args) {
3. for(int x = 1; x < args.length; x++) {
4. System.out.print(args[x] + " ");
5. }
6. }
7. } and two separate command line invocations: java Yippee java Yippee 1 2 3 4 What is the result?
发布于 2021-02-15 03:24:29
【单选题】 A No output is produced. 1 2 3 B No output is produced. 2 3 4 C No output is produced. 1 2 3 4 D An exception is thrown at runtime. 1 2 3