Start learning →

Which suffix specifies that an integer literal is interpreted as a long?

AD or d suffix
BF or f suffix
CS or s suffix
DL or l suffix
Answer & Solution
Correct answer: D. L or l suffix
Appending the suffix L or l to an integer literal makes it a long type.
Practise this question with Quill — ICSE Class 8 →

Keep practising Java Data Types and Variables

Browse all Java Data Types and Variables questions for ICSE Class 8, or explore more Computer Applications topics.

Start a Java Data Types and Variables lesson →