Which of the following is not an Integer Literal?
Correct Answer : B
239 is a decimal literal.
239 indicates that it is octal but octal numbers can have digits ranging from
9 is not allowed. So
0239 is not an Integer literal.
0x239 is hexadecimal literal.
0235 is an octal literal.
Topic: Integer Literals In Java