Difficulty: Easy
Correct Answer: 0 to 65535
Explanation:
Introduction / Context:
The char type in Java is a 16-bit unsigned integer representing a Unicode character. Unlike C/C++, Java chars are not signed and cover a wide range of Unicode code points.
Given Data / Assumptions:
Concept / Approach:
The range of a 16-bit unsigned integer is 0 to (2^16 - 1) = 65535.
Step-by-Step Solution:
Why Other Options Are Wrong:
Final Answer:
0 to 65535
Discussion & Comments