Which of the following is a valid long literal?
904423
Oxnf0291
ABH8097
99002
Answers
Answered by
0
Answer:
904423 is a valid long literal
Answered by
2
Explanation:
Given:
904423
Oxnf0291
ABH8097
99002
To find: Which of the following is a valid long literal?
Solution:
None of them is a valid long literal.
Rules for Long literal: A long literal specifically in Java ends with capital 'L' or small 'l'.
it is always convenient to identify capital 'L' easily as compared with small one.
Examples of Valid literal :
Oxnf029l
Oxnf029L
Hope it helps you.
To learn more on brainly:
In IF --- THEN statement ______ part of statement is optional.
https://brainly.in/question/40159635
Binary to Octal Conversion, Binary digits must be grouped into _____bits.
a. 0 b. 1 c. 2 d. 3
2. While grouping the B...
https://brainly.in/question/23233956
Similar questions