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. -
41
Report Bug
Polymorphism types in Java is/are
Polymorphism types in Java is/are
A.
Compile time
Compile time
B.
Run time
Run time
C.
Both
Both
D.
None
None
Question No. -
42
Report Bug
Name the programming technique that implements programs as an organised collection of interactive objects.
Name the programming technique that implements programs as an organised collection of interactive objects.
A.
Procedure Oriented Programming
Procedure Oriented Programming
B.
Modular Programming
Modular Programming
C.
Object Oriented Programming
Object Oriented Programming
D.
None of these
None of these
Question No. -
43
Report Bug
Name the characteristics of Object Oriented Programming that hides the complexity and provides a simple interface
Name the characteristics of Object Oriented Programming that hides the complexity and provides a simple interface
A.
Encapsulation
Encapsulation
B.
Polymorphism
Polymorphism
C.
Abstraction
Abstraction
D.
Inheritance
Inheritance
Question No. -
44
Report Bug
Which among the following operator is used to access individual members of an object?
Which among the following operator is used to access individual members of an object?
A.
. (dot)
. (dot)
B.
+ (plus)
+ (plus)
C.
– (minus)
– (minus)
D.
/ (divide)
/ (divide)
Question No. -
45
Report Bug
Which among the following modifier is used in a ‘class’?
Which among the following modifier is used in a ‘class’?
A.
public
public
B.
default
default
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No. -
46
Report Bug
Which among the following is a valid class name?
Which among the following is a valid class name?
A.
Simple Interest
Simple Interest
B.
SimpleInterest
SimpleInterest
C.
1SimpleInterest
1SimpleInterest
D.
Simple@Interest
Simple@Interest
Question No. -
47
Report Bug
Which among the following is a valid object name?
Which among the following is a valid object name?
A.
obj1
obj1
B.
1obj
1obj
C.
Obj 1
Obj 1
D.
Obj#1
Obj#1
Question No. -
48
Report Bug
Which among the following is a valid float literal?
Which among the following is a valid float literal?
A.
12.36f
12.36f
B.
12.36F
12.36F
C.
12.36
12.36
D.
Both a and b
Both a and b
Question No. -
49
Report Bug
Which among the following is a valid octal integer literal?
Which among the following is a valid octal integer literal?
A.
0178
0178
B.
675
675
C.
0675
0675
D.
0X675
0X675
Question No. -
50
Report Bug
Which among the following is a valid method of initialising?
Which among the following is a valid method of initialising?
A.
boolean f=true;
boolean f=true;
B.
boolean f=True;
boolean f=True;
C.
boolean f=’true’;
boolean f=’true’;
D.
None of these
None of these
Question No. -
51
Report Bug
Which among the following is not a punctuator?
Which among the following is not a punctuator?
A.
; semicolon
; semicolon
B.
, comma
, comma
C.
: colon
: colon
D.
. dot
. dot
Question No. -
52
Report Bug
Which among the following is not a primitive data type?
Which among the following is not a primitive data type?
A.
int
int
B.
float
float
C.
String
String
D.
char
char
Question No. -
53
Report Bug
If a is of type int and b is of type float what would be the resultant data type of a+b?
If a is of type int and b is of type float what would be the resultant data type of a+b?
A.
int
int
B.
float
float
C.
double
double
D.
short
short
Question No. -
54
Report Bug
Encapsulation refers to the art of hiding the complexities and giving a simple interface
Encapsulation refers to the art of hiding the complexities and giving a simple interface
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
55
Report Bug
Procedure Oriented Language follows top down approach.
Procedure Oriented Language follows top down approach.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
56
Report Bug
Java is an example of Object Oriented Language
Java is an example of Object Oriented Language
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
57
Report Bug
Abstraction is same as encapsulation
Abstraction is same as encapsulation
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
58
Report Bug
An object is called a class factory
An object is called a class factory
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
59
Report Bug
A class is an instance of an object
A class is an instance of an object
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
60
Report Bug
A class is a mechanism to implement encapsulation
A class is a mechanism to implement encapsulation
A.
TRUE
सही
B.
FALSE
गलत
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