Adblocker Detected
Quizack provides Online Quiz and Practice MCQs for Free. Please disable your Ad-Blocker so we can earn from ads and keep this project alive.
1. The ________ is used to protect important data.
2. Objects are created from abstract data types that encapsulate ________ and ________ together.
3. Every event object has the _____ method that returns the object that triggered the event.
4. A class is a(n) _____________ that is defined by the programmer.
5. Can I inherit the constructor and destructor of a base class?
6. Can I create new operators using operator overloading?
7. _____________ is actually a parameterized constructor which takes some parameters in order to create instance of a class.
8. What is a “const member function”?
9. If the child object can exist beyond the lifetime of its parent, then the relationship is ____________.
10. __________ allows for the separation of object interactions from classes and inheritance into distinct layers of abstraction.
11. Which of the following is false for a destructor?
12. Common behavior can be defined in a superclass and inherited into a subclass using the ___________ keyword.
13. What are the major elements in an object model?
14. A recursive function would result in infinite recursion, if the following were left out:
15. Constructors never have an explicit return type.
16. In dynamic type case a type safety check is incurred at ____________.
17. Constructors have to be called before the main function:
18. What is dynamic dispatch?
19. Which of the following is true for package access modifier?