Correct Answer : B
"Hello"
is a string i.e., group of characters. So its a String
literal.
true
is a boolean literal.
525
is a decimal integer literal.
marks
is not a literal. For it to become a literal it must be enclosed in double quotes as "marks"
. Then it would be considered as String
literal.