Important Java Mcq 1

A java character is stored in ________.

a. 1 byte

b. 2 bytes

c. 3 bytes

d. 4 bytes

Answer:

b. 2 bytes

Explanation:

Java supports unicode. Character in Java takes 2 bytes of memory or 16 bits of memory.

Related MCQs
Aniket Malik

Aniket Malik

CERTIFIED TUTOR/TRAINER WITH 300+ REVIEWS

Facing difficulty with

this concept?