Basic OOPS Interview Question - 1
Ads
Introduction:
In Nithra Jobs site we have given a set of OOP interview question. OOP is a vital programming paradigm widely used in the industry, emphasizing concepts like encapsulation, inheritance, and polymorphism. By testing your knowledge and problem-solving skills in OOP, these interview questions will help to assess your ability to design robust and maintainable software systems. By preparing and answering these questions, you'll be better equipped to showcase your expertise in OOP during your interviews.
1. Who invented OOP? Alan Kay
2. When a program is executed, the ____ interacted by sending a message to one another. Objects
3. What is the Full form of OOPs? Object Oriented Programming (OOPs)
4. When was the first object-oriented programming language developed? 1967
5. When OOP concept did first came into picture? 1970
6. Which header file is required in C++ to use OOP? There is no need to use any particular header file
7. The feature by which one object can interact with another object is _____________. Message Passing
8. How many types of access specifiers are provided in OOP (C++)? three access specifiers
9. What is the most striking feature of class? Data encapsulation
10. What is the feature of OOPS described the reusability of code? Inheritance
11. A single program of OOPS contains _______ classes? Any number
12. What is procedure-oriented Language? A procedure-oriented Language is a language that consists of writing a list of instructions
13. In multilevel inheritance, which is the most significant feature of OOP used? code reusability
14. What is the implicit return type of constructor? A class object in which it is defined
15. What is the not a type of inheritance? Distributive
16. Why is reusability a desirable feature? Decreases testing time
17. What type of inheritance does single-level inheritance support? Runtime inheritance
18. What is the features of OOP are extensively used in implementing inheritance? Polymorphism
19. Which language does not follow the concept of OOP? FORTAN, ALGOL, C, etc
20. What is the functions are declared inside a class have to be defined separately outside the class? Member functions
21. The keyword _______ can be used to declare an array of objects in java. New
22. _____ operator can be used to free the memory allocated for an object in C++. delete operator
23. Which type of members can't be accessed in derived classes of a base class? Private
24. Single level inheritance supports _____________ inheritance. Runtime
25. Hierarchical inheritance could be some subset of _________________ inheritance. hybrid inheritance
Conclusion:
The knowledge and skills you have acquired here will greatly benefit you in your interview with Nithra Jobs, as well as in your future programming endeavours. Keep building on this foundation, stay curious, and continue honing your OOP skills. Best of luck in your interview and your journey with Nithra Jobs!