R

Ram Sharma • 193.86K Points
Coach

Q. Can the Java program accept input from the command line?

  • (A) Yes, using command-line arguments
  • (B) Yes, by access command prompt
  • (C) No
  • (D) None of these
  • Correct Answer - Option(A)
  • Views: 206
  • Filed under category JAVA

Explanation by: Team MCQ Buddy
In Java, we can also provide values (arguments) while calling the program through the command line. These arguments are known as Command Line Arguments.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics