Which of these is an incorrect string literal?

Q & ACategory: JavaWhich of these is an incorrect string literal?
Admin Staff asked 5 years ago

Which of these is an incorrect string literal?
a) “Hello World”
b) “Hello\nWorld”
c) “\”Hello World\””
d)”Hello world”

1 Answers
Admin Staff answered 5 years ago

d)”Hello world”