πŸ“Š JAVA
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) Yes, using command-line arguments

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

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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
288
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate