Given the following program:

```
public class Test {
public static void main(String[] args) {
for (int i = 0; i < args.length; i++) {
System.out.print(args[i] + " ");
}
}
}
```
What is the output, if you run the program using

java Test 1 2 3

a. 3
b. 1
c. 1 2 3
d. 1 2

c

Computer Science & Information Technology

You might also like to view...

By default, when you press Enter and begin to type, the first letter of first word on the next line is capitalized

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following is true of a function?

A. Takes a value or values B. Performs a calculation C. Returns a result to the cell D. Contains arguments

Computer Science & Information Technology