Vidyalelo
Java Programming · Q96

Data Types and Variables

Programming · Java Programming · question 96

Q96

Which of these is an incorrect string literal?

A.
"Hello World"
B.
"Hello\nWorld"
C.
"\"Hello World\""
D.
"Hello
world"
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board