Q. What is the range for the type of char data in Java?

  • (A) 0 to 256
  • (B) -128 to 127
  • (C) 0 to 65535
  • (D) 0 to 32767
πŸ’¬ Discuss
βœ… Correct Answer: (C) 0 to 65535
Explanation: Char takes 16-bit memory, so it supports 216, that is from 0 to 65535.
Explanation by: Yami Thakur
Char takes 16-bit memory, so it supports 216, that is from 0 to 65535.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
319
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
90%
Success Rate