Home / Programming MCQs / JAVA MCQs / Question

R

Ram Sharma • 192.10K Points
Coach

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

(A) Single Quotes ('abc def')
(B) Double Quotes ("abc def")
(C) Double Spaces( abc def )
(D) Triple Single Quotes ('''abc def''')

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.