Hey in java char has 2 bytes ??
WHy is there no option??
Char has 1 BYTE?
Hey @bhavik911
the actual data stored in the char data type doesn’t take up more than 8 bits; the reason Java allows 16 bits is so that all characters in all languages can be represented.
Yeah so if a no cannot be represented in 8 bits , it does use more bits right??
Then it is using 2 bytes right?
char in java allows 16 bits
Yeah so thee answer should be 2 bytess??
Yeah so thee answer should be 2 bytess??
Yes