1

To pass a string as a command-line argument in Java, you need to surround the text within a pair of ___.

Correct Answer: Double Quotes ("abc def")

Make the most of this question

This page focuses on one JAVA MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

JAVA MCQs MCQ: To pass a string as a command-line argument in Java, you need to surround the text within a pair of ___. | Extra Education