Q.1.
Who invented OOP?
Q.2.
Which is not a feature of OOP in general definitions?
Q.3.
Which was the first purely object oriented programming language developed?
Q.4.
When OOP concept did first came into picture?
Q.5.
Which feature of OOP indicates code reusability?
Q.6.
Which header file is required in C++ to use OOP?
Q.7.
Why Java is Partially OOP language?
Q.8.
Which among the following doesn’t come under OOP concept?
Q.9.
Which is the correct syntax of inheritance?
Q.10.
Which of the following is not a property of an object?
Q.11.
Which feature of OOP is indicated by the following code? class student{ int marks; }; class topper:public student{ int age; topper(int age){ this.age=age; } };
Q.12.
The feature by which one object can interact with another object is _____________
Q.13.
Which among the following, for a pure OOP language, is true?
Q.14.
How many types of access specifiers are provided in OOP (C++)?
Q.15.
In multilevel inheritance, which is the most significant feature of OOP used?
Q.16.
What is encapsulation in OOP?
Q.17.
Which of the following is not true about polymorphism?
Q.18.
Which constructor will be called from the object created in the below C++ code? class A { int i; A() { i=cout<<i; } A(int x= { i=x; cout<<I; } }; A obj1;
Q.19.
What is an abstraction in object-oriented programming?
Q.20.
Which among the following can show polymorphism?