Single Choice Not Set

QWhat is the numerical range of a char?

ID: #1993 Java Language Fundamental 3,166 views
Question Info
#1993Q ID
Not SetDifficulty
Java Language FundamentalTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A -128 to 127
  • B -(215) to (215) - 1
  • C 0 to 32767
  • D 0 to 65535
Correct Answer

Explanation

char is really a 16-bit integer behind the scenes, so it supports 216 (from 0 to 65535) values.

Share This Question

Challenge a friend or share with your study group.