Home » JAVA Programming » Variable Types » Question
  1. Which of these is incorrect string literal?
    1. “Hello World”
    2. “Hello\nWorld”
    3. “Hello
      world”
    4. “\”Hello World\””
    5. None of these
Correct Option: C

all string literals must begin and end in same line.



Your comments will be displayed only after manual approval.