correct answerWhich of these is long data type literal?Options0x99fffL0x99fffaABCDEFG99671246
Question
correct answerWhich of these is long data type literal?Options0x99fffL0x99fffaABCDEFG99671246
Solution
The correct answer is 0x99fffL. This is because in Java, a long data type literal is represented by appending an 'L' or 'l' at the end. The '0
Similar Questions
Which of the following is a valid long literal?ABH8097L9900239044230xnf029L
Literal can be of which of these data types?Optionsfloatintegerbooleanall of the mentioned
orrect answerIn C, which type of data type is used to store a single character?Optionscharfloatintdouble
Select the correct answerWhat is the base of BigDecimal data type?OptionsBase 8Base 2Base 10Base e
What is the range of short data type in Java?Options-32768 to 32767-128 to 127-2147483648 to 2147483647None of the mentioned
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.