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. -
121
Report Bug
Which access specifier allows accessibility of a member only within the same class where it is declared?
Which access specifier allows accessibility of a member only within the same class where it is declared?
A.
public
public
B.
private
private
C.
protected
protected
D.
default
default
Question No. -
122
Report Bug
Wrapping up of data and method into a single unit is called___
Wrapping up of data and method into a single unit is called___
A.
Encapsulation
Encapsulation
B.
Abstraction
Abstraction
C.
Inheritance
Inheritance
D.
Polymorphism
Polymorphism
Question No. -
123
Report Bug
An OOP feature that allows all members of a class to be the members of another class.
An OOP feature that allows all members of a class to be the members of another class.
A.
Encapsulation
Encapsulation
B.
Abstraction
Abstraction
C.
Inheritance
Inheritance
D.
Polymorphism
Polymorphism
Question No. -
124
Report Bug
Which keyword allows Inheritance?
Which keyword allows Inheritance?
A.
extend
extend
B.
extends
extends
C.
for
for
D.
protected
protected
Question No. -
125
Report Bug
Which access specifier allows accessibility by all classes in the same package, but only by subclasses in a different package?
Which access specifier allows accessibility by all classes in the same package, but only by subclasses in a different package?
A.
public
public
B.
private
private
C.
protected
protected
D.
default
default
Question No. -
126
Report Bug
A static member a is declared in a class named ‘Myclass’, write the statement to initialise it with 5, from a function in another class.
A static member a is declared in a class named ‘Myclass’, write the statement to initialise it with 5, from a function in another class.
A.
a=5;
a=5;
B.
a of Myclass=5;
a of Myclass=5;
C.
Myclass.a=5;
Myclass.a=5;
D.
a.Myclass=5;
a.Myclass=5;
Question No. -
127
Report Bug
Which feature can be implemented using encapsulation?
Which feature can be implemented using encapsulation?
A.
Inheritance
Inheritance
B.
Abstraction
Abstraction
C.
Polymorphism
Polymorphism
D.
Overloading
Overloading
Question No. -
128
Report Bug
A set of instructions given to a computer to do a particular task.
A set of instructions given to a computer to do a particular task.
A.
Program
Program
B.
High level Language
High level Language
C.
Object
Object
D.
None of these
None of these
Question No. -
129
Report Bug
An object is represented by two attributes, out of which one is characteristics and the other one is
An object is represented by two attributes, out of which one is characteristics and the other one is
A.
Behaviour
Behaviour
B.
Situation
Situation
C.
Abstraction
Abstraction
D.
Encapsulation
Encapsulation
Question No. -
130
Report Bug
Name the programming technique that implements programs as an organized collection of interactive objects.
Name the programming technique that implements programs as an organized 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. -
131
Report Bug
Name the programming technique that specifies a series of well-structured steps and procedures within its programming context to compose a program.
Name the programming technique that specifies a series of well-structured steps and procedures within its programming context to compose a program.
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. -
132
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. -
133
Report Bug
What is the behaviour aspect of an object represented by?
What is the behaviour aspect of an object represented by?
A.
Member Functions
Member Functions
B.
Data Members
Data Members
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No. -
134
Report Bug
What is the ability of an object to take on many forms called?
What is the ability of an object to take on many forms called?
A.
Polymorphism
Polymorphism
B.
Encapsulation
Encapsulation
C.
Abstraction
Abstraction
D.
Inheritance
Inheritance
Question No. -
135
Report Bug
What is the term that is used to represent hierarchical relationship of generalization?
What is the term that is used to represent hierarchical relationship of generalization?
A.
Polymorphism
Polymorphism
B.
Encapsulation
Encapsulation
C.
Abstraction
Abstraction
D.
Inheritance
Inheritance
Question No. -
136
Report Bug
Name the art of implementing Encapsulation in Object Oriented Programming.
Name the art of implementing Encapsulation in Object Oriented Programming.
A.
Polymorphism
Polymorphism
B.
Encapsulation
Encapsulation
C.
Abstraction
Abstraction
D.
class
class
Question No. -
137
Report Bug
What is meant by state of an object?
What is meant by state of an object?
A.
Functions of the object
Functions of the object
B.
Data Members of the object
Data Members of the object
C.
Content of an object
Content of an object
D.
All of these
All of these
Question No. -
138
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.
Encapsulation refers to the art of hiding the complexities and giving a simple interface.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
139
Report Bug
Procedure Oriented Language follows top down approach.
Procedure Oriented Language follows top down approach.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
140
Report Bug
Java is an example of Object Oriented Language.
Java is an example of Object Oriented Language.
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