OOPS Concepts
Object-Oriented Programming (OOP) is a programming paradigm based on objects and classes. It helps organize code in a structured, reusable, and scalable way.
1.
Which among the following, for a pure oops language, is true?
BPSC Tre 4.0 OOPS Concepts Practice Set
2.
In which access should a constructor be defined, so that object of the class can be created in any function?
BPSC Tre 4.0 OOPS Concepts Practice Set
3.
When oops concept did first come into picture?
BPSC Tre 4.0 OOPS Concepts Practice Set
4.
Which access specifier is usually used for data members of a class?
BPSC Tre 4.0 OOPS Concepts Practice Set
5.
Who invented OOPS?
BPSC Tre 4.0 OOPS Concepts Practice Set
6.
In multilevel inheritance, which is the most significant feature of oops used?
BPSC Tre 4.0 OOPS Concepts Practice Set
7.
The copy constructors can be used to
BPSC Tre 4.0 OOPS Concepts Practice Set
8.
Which among the following can show polymorphism?
BPSC Tre 4.0 OOPS Concepts Practice Set
9.
How many types of access specifiers are provided in oops (C++)?
BPSC Tre 4.0 OOPS Concepts Practice Set
10.
Which header file is required in C++ to use OOP?
BPSC Tre 4.0 OOPS Concepts Practice Set
11.
What happens when an object is passed by reference?
BPSC Tre 4.0 OOPS Concepts Practice Set
12.
Which among the following represents correct constructor?
BPSC Tre 4.0 OOPS Concepts Practice Set
13.
What is encapsulation in OOP?
BPSC Tre 4.0 OOPS Concepts Practice Set
14.
Which feature of oops reduces the use of nested classes?
BPSC Tre 4.0 OOPS Concepts Practice Set
15.
What is an abstraction in object-oriented programming?
BPSC Tre 4.0 OOPS Concepts Practice Set
16.
Which is the correct syntax of inheritance?
BPSC Tre 4.0 OOPS Concepts Practice Set
17.
Which feature of oops is indicated by the following code?
BPSC Tre 4.0 OOPS Concepts Practice Set
18.
Which of the following is not true about polymorphism?
BPSC Tre 4.0 OOPS Concepts Practice Set
19.
Why Java is Partially oops language?
BPSC Tre 4.0 OOPS Concepts Practice Set