Start typing & press "Enter" or "ESC" to close
Home
Jobs
Results
Current Affairs
GK
Online Test
HR Interview
BLOG
What is the numerical range of a char?
Home
Computer Science & Engineering
Java Programming Questions and Answers
Language Fundamentals - General Questions
Discuss - 1321
1.
What is the numerical range of a char?
[A].
-128 to 127
[B].
-(215) to (215) - 1
[C].
0 to 32767
[D].
0 to 65535
Answer:
Option
D
Explanation:
A
char
is really a 16-bit integer behind the scenes, so it supports 2
16
(from 0 to 65535) values.
Workspace
Report
Leave a
Comment
Name
*
Email
Your comment
*
Submit Comment
Computer Science & Engineering :: Java Programming Questions and Answers : More Exercises
Language Fundamentals - General Questions
Operators and Assignments - Finding the output
Exceptions - Finding the output
Inner Classes - General Questions
Height and Distance - Garbage Collections
Java.lang Class - General Questions
Declarations and Access Control - General Questions
Flow Control - General Questions
Objects and Collections - General Questions
Threads - General Questions
Assertions - Finding the output
Questions & Answers
Aptitude
Chemical Engineering
Civil Engineering
Computer Science & Engineering
Current Affairs
Data Interpretation
Electrical & Electronics Engineering
Electronics & Communication Engineering
General Knowledge
Logical Reasoning
Mechanical Engineering
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Interviews
HR Interview
Jobs
Sarkari Jobs
Results
Rojgar Result
Sarkari Result
Admission
Admission 2023
Admit Card
Admit Card 2023
Answer Key
Answer Key 2023
Report
Name
Email
Message
Send message