A

Admin • 828.03K 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: 11
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
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.

Be the first to start discuss.