Solved

You Have Opened a Command Prompt Window and You Have

Question 65

Multiple Choice

You have opened a command prompt window and you have entered the following: java myProg Bob Smith
Which of the following statements is correct?


A) You have supplied one argument value, and this value can be accessed in the main method using the arg1 parameter.
B) You have supplied two argument values, and these values can be accessed in the main method using the arg1 and arg2 parameters.
C) You have supplied one argument value, and this value can be accessed in the main method using the args parameter.
D) You have supplied two argument values, and these values can be accessed in the main method using the args parameter.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions