McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2026
→
Bachelor of Computer Applications (BCA)
→
Java Programming
→
What is the numerical range of a char in...
Q.
What is the numerical range of a char in Java?
A.
-128 to 127
B.
0 to 256
C.
0 to 32767
D.
0 to 65535
Answer» D. 0 to 65535
910
0
Do you find this helpful?
5
View all MCQs in
Java Programming
Discussion
No comments yet
Login to comment
Related MCQs
State true or false (i) Java RMI supports distributed objects written entirely in java (ii) Java RMI makes use of stubs and skeleton (iii) In Java RMI an object registers itself with a media server (iv) IDL is interface declaration language
Match the following (a) Datagram Socket (i) UDP connection (b) URL (ii) provides a necessary framework of debugging java programs (c) java.net (iii) makes it possible to communicate over a network with java programs (d) sun.tools.debug (iv) is a java object that represents WWW address
Which of these coding types is used for data type char in Java?
What is the range of the char type?
What is different between a Java applet and a Java application?
What is different between a Java applet and a Java application?
Java enables the creation of cross-platform programs by compiling into an intermediate representation called Java ____________.
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));
If not assigned a value, a variable of type char has the following default value:
What will happen when the class below is complied?~~~public class Example~~~{~~~//char a = 'u000A';~~~}