Which of the following is a Literal Representation?
100
'100'
Sample
None of the mentioned
Answer and explanation
A constant value in Java is created by using a 'Literal Representation' of it. Integer Literals are not enclosed in quotes where as String Literals are enclosed in quotes.
