QUESTION IMAGE
Question
question 5
1 pts
in java, when a character is stored in memory, it is actually the ______ that is stored.
○ unicode number
○ ascii code
○ floating - point value
○ letter, symbol, or number
In Java, the char type is used to store characters. Java uses Unicode to represent characters, so when a character is stored in memory, its corresponding Unicode number is stored. ASCII code is a subset of Unicode and has limited character representation. Floating - point values are for representing real numbers, not characters. And the "letter, symbol, or number" is the visual representation of the character, not what's stored in memory (the underlying representation is the Unicode number).
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
A. Unicode number