×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Can the Java program accept input from the command line?

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

  1. Yes, using command-line arguments
  2. Yes, by access command prompt
  3. No
  4. None of these

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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.