ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
MCQ CORE JAVA - JAVA VALUE AND TYPES MCQ Questions
English
Hindi
Question No. -
11
Report Bug
Scanner class is present in the java.lang package
Scanner class is present in the java.lang package
Scanner class is present in the java.lang package
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
12
Report Bug
What is the name given to a memory location called in Java?
What is the name given to a memory location called in Java?
A.
Variable
Variable
B.
Constant
Constant
C.
Data Type
Data Type
D.
None of these
None of these
Question No. -
13
Report Bug
Which are the data types used in Java?
Which are the data types used in Java?
A.
Primitive data type
Primitive data type
B.
Composite data type
Composite data type
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No. -
14
Report Bug
Which among the following encoding system can represent 65536 characters?
Which among the following encoding system can represent 65536 characters?
A.
ASCII
ASCII
B.
Unicode
Unicode
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No. -
15
Report Bug
Which among the following is not a Token?
Which among the following is not a Token?
A.
Keywords
Keywords
B.
Literals
Literals
C.
Identifiers
Identifiers
D.
Data Type
Data Type
Question No. -
16
Report Bug
Which among the following is a keyword but not a literal?
Which among the following is a keyword but not a literal?
A.
for
for
B.
null
null
C.
true
true
D.
false
false
Question No. -
17
Report Bug
What is the largest possible value that can be stored in short data type?
What is the largest possible value that can be stored in short data type?
A.
215-1
215-1
B.
231-1
231-1
C.
27-1
27-1
D.
263-1
263-1
Question No. -
18
Report Bug
Which datatype store true/false type value
कौन सा डेटाटाइप हाँ/नहीं प्रकार का डेटा संग्रहीत करता है
कौन सा डेटाटाइप हाँ/नहीं प्रकार का डेटा संग्रहीत करता है
A.
Varient
Varient
B.
Integer
Integer
C.
Boolean
Boolean
D.
String
String
Question No. -
19
Report Bug
Which of the following is the default value of long data type?
Which of the following is the default value of long data type?
A.
0
0
B.
0.0
0.0
C.
0L
0L
D.
0.0f
0.0f
Question No. -
20
Report Bug
Which of the following is the range of values that can be stored in a int variable?
Which of the following is the range of values that can be stored in a int variable?
A.
-128 to 127
-128 to 127
B.
-32768 to 32767
-32768 to 32767
C.
-2^31 to (2^31)-1
-2^31 to (2^31)-1
D.
None of these
None of these
1
2
3
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad