Who invented OOP?
Object Oriented Programming MCQ Practice
Which is not a feature of OOP in general definitions?
Which was the first purely object oriented programming language developed?
When OOP concept did first came into picture?
Which feature of OOP indicates code reusability?
Which header file is required in C++ to use OOP?
Why Java is Partially OOP language?
Which among the following doesn't come under OOP concept?
Which is the correct syntax of inheritance?
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; } };
The feature by which one object can interact with another object is _____________
Which among the following, for a pure OOP language, is true?
How many types of access specifiers are provided in OOP (C++)?
In multilevel inheritance, which is the most significant feature of OOP used?
What is encapsulation in OOP?
Which of the following is not true about polymorphism?
Which constructor will be called from the object created in the below C++ code? class A { int i; A() { i=0; cout<<i; } A(int x=0) { i=x; cout<<I; } }; A obj1;
What is an abstraction in object-oriented programming?
Which among the following can show polymorphism?
In which access should a constructor be defined, so that object of the class can be created in any function?
Which among the following is correct for the class defined below? class student { int marks; public: student(){} student(int x) { marks=x; } }; main() { student s1(100); student s2(); student s3=100; return 0; }
The copy constructors can be used to ________
Which among the following represents correct constructor?
What happens when an object is passed by reference?
Which access specifier is usually used for data members of a class?
How to access data members of a class?
Which feature of OOP reduces the use of nested classes?
Which keyword among the following can be used to declare an array of objects in java?
Which operator can be used to free the memory allocated for an object in C++?
Which of the following is not a property of an object?