Solved

Which of the Following Is the Correct Syntax for Starting

Question 43

Multiple Choice

Which of the following is the correct syntax for starting a Java program named myProg from a command line if the program requires two arguments named arg1 and arg2 to be supplied?


A) java myProg(arg1, arg2)
B) java myProg "arg1" "arg2"
C) java myProg arg1 arg2
D) java myProg arg1, arg2

Correct Answer:

verifed

Verified

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

Related Questions