Solved

Which of the Following Is the Correct Syntax for Starting

Question 80

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents