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...

The ________ button moves the video forward one frame

Fill in the blank(s) with correct word

Computer Science & Information Technology

The file extension for a Theme is .thex

Indicate whether the statement is true or false

Computer Science & Information Technology

Saving a document as either a .docm or .dotm will cause any macros to be removed

Indicate whether the statement is true or false

Computer Science & Information Technology

You can create ____ that consist of multiple indexes or keys.

A. indexed arrays B. two-dimensional arrays C. multidimensional arrays D. key arrays

Computer Science & Information Technology