Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question 5 1 pts in java, when a character is stored in memory, it is a…

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

Explanation:

Brief Explanations

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).

Answer:

A. Unicode number