ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
MCQ CORE JAVA QUIZ CORE JAVA MCQ Questions CORE JAVA Questions Answer for Interview
English
Hindi
Question No. -
221
Report Bug
Which statement about objects is true?
ऑब्जेक्ट के बारे में कौन सा कथन सत्य है?
ऑब्जेक्ट के बारे में कौन सा कथन सत्य है?
A.
One object is used to create one class.
One object is used to create one class.
B.
One class is used to create one object.
One class is used to create one object.
C.
One object can create many classes.
One object can create many classes.
D.
One class can create many objects.
One class can create many objects.
Question No. -
222
Report Bug
Which datatype store true/false type value
कौन सा डेटाटाइप हाँ/नहीं प्रकार का डेटा संग्रहीत करता है
कौन सा डेटाटाइप हाँ/नहीं प्रकार का डेटा संग्रहीत करता है
A.
Varient
Varient
B.
Integer
Integer
C.
Boolean
Boolean
D.
String
String
Question No. -
223
Report Bug
An Exception is another name
एक्सेप्शन का दूसरा नाम है
एक्सेप्शन का दूसरा नाम है
A.
compile error
compile error
B.
logic error
logic error
C.
runtime error
runtime error
D.
superficial error
superficial error
Question No. -
224
Report Bug
return type of Constructors function is
कंस्ट्रक्टर्स फ़ंक्शन का रिटर्न प्रकार है
कंस्ट्रक्टर्स फ़ंक्शन का रिटर्न प्रकार है
A.
Void
Void
B.
Int
Int
C.
Array
Array
D.
Constructor function no return any value
Constructor function no return any value
Question No. -
225
Report Bug
A static function
A static function
A.
should be called when an object is destroyed
should be called when an object is destroyed
B.
is closely connected with an individual object of a class
is closely connected with an individual object of a class
C.
can be called using the class name and function
can be called using the class name and function
D.
is used when a dummy object must be created
is used when a dummy object must be created
Question No. -
226
Report Bug
What is true about a Constructor
एक कंस्ट्रक्टर के बारे में क्या सच है?
एक कंस्ट्रक्टर के बारे में क्या सच है?
A.
Its name is plural of class name
Its name is plural of class name
B.
Its name has * symbol before it
Its name has * symbol before it
C.
Its name is same as of class name
Its name is same as of class name
D.
Its name has # symbol before it
Its name has # symbol before it
Question No. -
227
Report Bug
What is the use of this keyword in java
जावा में this कीवर्ड का क्या उपयोग है
जावा में this कीवर्ड का क्या उपयोग है
A.
It refers to current object
It refers to current object
B.
It is a variable which contains value
It is a variable which contains value
C.
It refers to previous object
It refers to previous object
D.
None of the above
None of the above
Question No. -
228
Report Bug
The sign && means
The sign && means
A.
Logical OR
Logical OR
B.
Bitwise OR
Bitwise OR
C.
Logical AND
Logical AND
D.
Bitwise AND
Bitwise AND
Question No. -
229
Report Bug
What is the purpose of an abstract class
What is the purpose of an abstract class
A.
To provide help with database connectivity
To provide help with database connectivity
B.
To provide data input to other classes
To provide data input to other classes
C.
To provide security to other classes
To provide security to other classes
D.
To provide an appropriate base class from which other classes can inherit
To provide an appropriate base class from which other classes can inherit
Question No. -
230
Report Bug
Inheritance is referred to as
Inheritance is referred to as
A.
"is a" relationship
"is a" relationship
B.
"have a" relationship
"have a" relationship
C.
Both A and B
Both A and B
D.
None of These
None of These
Question No. -
231
Report Bug
which of the following is not a part of java character set?
which of the following is not a part of java character set?
A.
0-9
0-9
B.
a-z
a-z
C.
A-Z
A-Z
D.
None of These
None of These
Question No. -
232
Report Bug
Which of the following is a token n java
Which of the following is a token n java
A.
Operators
Operators
B.
Identifiers
Identifiers
C.
Literals
Literals
D.
All of These
All of These
Question No. -
233
Report Bug
Which of the following is encoding techniques made of 128 characters consisting of letters, digits and special characters?
Which of the following is encoding techniques made of 128 characters consisting of letters, digits and special characters?
Which of the following is encoding techniques made of 128 characters consisting of letters, digits and special characters?
A.
UNICODE
UNICODE
B.
ASCII
ASCII
C.
Both A and B
Both A and B
D.
None of these
None of these
Question No. -
234
Report Bug
Which of the following symbol is used to create string literals?
Which of the following symbol is used to create string literals?
A.
Single quotes
Single quotes
B.
Double quotes
Double quotes
C.
Question Mark
Question Mark
D.
Greater than
Greater than
Question No. -
235
Report Bug
Which of the following is an example of static initialization?
Which of the following is an example of static initialization?
A.
A=B+C;
A=B+C;
B.
A=8;
A=8;
C.
Both A and B
Both A and B
D.
None of these
None of these
Question No. -
236
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. -
237
Report Bug
In which of the following conversions, we can assign a value of larger data type of to a smaller data type?
In which of the following conversions, we can assign a value of larger data type of to a smaller data type?
A.
Explicit Type Conversion
Explicit Type Conversion
B.
Implicit Type Conversion
Implicit Type Conversion
C.
Both A and B
Both A and B
D.
None of These
None of These
Question No. -
238
Report Bug
Which of the following is a symbol used to perform a calculation?
Which of the following is a symbol used to perform a calculation?
A.
Punctuator
Punctuator
B.
Variable
Variable
C.
Separator
Separator
D.
Operator
Operator
Question No. -
239
Report Bug
Which of the following are the reserved word in java?
Which of the following are the reserved word in java?
A.
Variables
Variables
B.
Literals
Literals
C.
Keywords
Keywords
D.
Punctuators
Punctuators
Question No. -
240
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
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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