McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2025
→
Bachelor of Computer Applications (BCA)
→
Java Programming
→
What is the range of the char type?
Q.
What is the range of the char type?
A.
0 to 216.
B.
0 to 215.
C.
0 to 216-1.
D.
0 to 215-1.
Answer» D. 0 to 215-1.
1.3k
0
Do you find this helpful?
6
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
What is the numerical range of a char in Java?
Which of these coding types is used for data type char in Java?
If not assigned a value, a variable of type char has the following default value:
If you run the code below, what gets printed out?String s=new String ("Bicycle"); int iBegin=1; char iEnd=3; System.out.println (s.substring (iBegin, iEnd));
What will happen when the class below is complied?~~~public class Example~~~{~~~//char a = 'u000A';~~~}
Which method defined in Integer class can be used to convert a whole number in string type to primitive int type.
What is the size of int data type in java?
Which of these is necessary condition for automatic type conversion in Java?
What is the return type of Constructors?
Identify the type of inheritance when two or more subclasses inherit the properties of a super class.