What is the numerical range of a char data type in Java?

Java Programming Language >   DataTypes in java >   About Java Tutorial  

Short Question

6893


Answer:

Char occupies 16-bit in memory, so it supports 2^16 i:e from 0 to 65535.


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.