Q. What is the range of values that can be stored in a char variable in Java?

  • (A) 0 to 127
  • (B) -128 to 127
  • (C) 0 to 65535
  • (D) -32768 to 32767
πŸ’¬ Discuss
βœ… Correct Answer: (C) 0 to 65535
Explanation: The correct answer is Option C: 0 to 65535.
Explanation by: Vikash Gupta
The correct answer is Option C: 0 to 65535.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
94
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vikash Gupta
Publisher
πŸ“ˆ
94%
Success Rate