Home » JAVA Programming » Variable Types » Question
  1. Which of these is long data type literal?
    1. 99671246
    2. ABCDEFG
    3. 0x99fffa
    4. 0x99fffL
    5. None of these
Correct Option: D

Data type long literals are appended by an upper or lowercase L. 0x99fffL is hexadecimal long literal.



Your comments will be displayed only after manual approval.