Java Programming - Language Fundamentals - Discussion

Discussion Forum : Language Fundamentals - General Questions (Q.No. 14)
14.
What is the numerical range of a char?
-128 to 127
-(215) to (215) - 1
0 to 32767
0 to 65535
Answer: Option
Explanation:
A char is really a 16-bit integer behind the scenes, so it supports 216 (from 0 to 65535) values.
Discussion:
19 comments Page 2 of 2.

Prajakta said:   8 years ago
What's the difference between 0 to 32767 and 0 to 65535? Please explain it.
(1)

V.malarvizhi said:   2 decades ago
What is the numerical rang?

difference between 0 to 32767 and 0 to 65535

V.srinivasreddy said:   1 decade ago
What is static and non-static declaration? how it will be instantiated?

Lavanya said:   1 decade ago
What's the difference between 0 to 32767 and 0 to 65535?

Sri said:   6 years ago
What is the numerical range for other data types?

Ieo said:   9 years ago
What is a volatile keyword in Java?

EswarReddy said:   1 decade ago
This is good for java students.

Dushyant said:   10 years ago
Hello, can you describe sop?

ArJun said:   1 decade ago
Thanks to INDIABIX


Post your comments here:

Your comments will be displayed after verification.