MCQ
What do we need to type as string literal to represent the string value Many “Congratulations!” in Java?
  • Many \“Congratulations!\”
  • B
    Many /”Congratulations!/”
  • C
    Many “Congratulations!”
  • D
    Many # “Congratulations!\” #

Answer

Correct option: A.
Many \“Congratulations!\”
Many \“Congratulations!\”

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free