1. What is single inheritance ? Junior A. a class deriving from exactly one base class B. a per-class table of function pointers the runtime uses to dispatch virtual calls dynamically C. binding resolved during execution through overridden virtual functions and dynamic dispatch D. defining several methods with the same name but different parameter lists in one scope Reveal the answer + AI explanation — free account
2. Which term means: "a class deriving from exactly one base class"? Junior A. diamond problem B. method overloading C. multiple inheritance D. single inheritance Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. single inheritance — a class deriving from exactly one base class B. single inheritance — binding resolved by the compiler, achieved through overloading and templates C. single inheritance — a derived class redefining a base-class method with the same signature to change its behavior D. single inheritance — a class deriving from more than one base class at the same time Reveal the answer + AI explanation — free account
4. What is multilevel inheritance ? Junior A. defining several methods with the same name but different parameter lists in one scope B. several derived classes inheriting from a single common base class C. a chain where a derived class itself becomes the base for a further derived class D. a combination of two or more inheritance types, such as hierarchical plus multiple, in one design Reveal the answer + AI explanation — free account
5. Which term means: "a chain where a derived class itself becomes the base for a further derived class"? Junior A. multiple inheritance B. vtable C. multilevel inheritance D. compile-time polymorphism Reveal the answer + AI explanation — free account
6. Which statement is correct? Junior A. multilevel inheritance — a chain where a derived class itself becomes the base for a further derived class B. multilevel inheritance — a combination of two or more inheritance types, such as hierarchical plus multiple, in one design C. multilevel inheritance — several derived classes inheriting from a single common base class D. multilevel inheritance — a class deriving from exactly one base class Reveal the answer + AI explanation — free account
7. What is hierarchical inheritance ? Junior A. several derived classes inheriting from a single common base class B. a combination of two or more inheritance types, such as hierarchical plus multiple, in one design C. binding resolved by the compiler, achieved through overloading and templates D. a class deriving from exactly one base class Reveal the answer + AI explanation — free account
8. Which term means: "several derived classes inheriting from a single common base class"? Junior A. hierarchical inheritance B. method overloading C. method overriding D. multiple inheritance Reveal the answer + AI explanation — free account
9. Which statement is correct? Junior A. hierarchical inheritance — several derived classes inheriting from a single common base class B. hierarchical inheritance — a combination of two or more inheritance types, such as hierarchical plus multiple, in one design C. hierarchical inheritance — a derived class redefining a base-class method with the same signature to change its behavior D. hierarchical inheritance — a class deriving from more than one base class at the same time Reveal the answer + AI explanation — free account
10. What is multiple inheritance ? Junior A. an ambiguity in multiple inheritance where a class inherits the same base twice through two parents B. binding resolved by the compiler, achieved through overloading and templates C. a per-class table of function pointers the runtime uses to dispatch virtual calls dynamically D. a class deriving from more than one base class at the same time Reveal the answer + AI explanation — free account
11. Which term means: "a class deriving from more than one base class at the same time"? Junior A. multilevel inheritance B. multiple inheritance C. diamond problem D. single inheritance Reveal the answer + AI explanation — free account
12. Which statement is correct? Junior A. multiple inheritance — a derived class redefining a base-class method with the same signature to change its behavior B. multiple inheritance — a class deriving from exactly one base class C. multiple inheritance — treating a derived-class object through a base-class pointer or reference D. multiple inheritance — a class deriving from more than one base class at the same time Reveal the answer + AI explanation — free account
13. What is method overloading ? Mid A. defining several methods with the same name but different parameter lists in one scope B. a class deriving from exactly one base class C. a combination of two or more inheritance types, such as hierarchical plus multiple, in one design D. binding resolved during execution through overridden virtual functions and dynamic dispatch Reveal the answer + AI explanation — free account
14. Which term means: "defining several methods with the same name but different parameter lists in one scope"? Mid A. upcasting B. method overloading C. multilevel inheritance D. hybrid inheritance Reveal the answer + AI explanation — free account
15. Which statement is correct? Mid A. method overloading — a per-class table of function pointers the runtime uses to dispatch virtual calls dynamically B. method overloading — a chain where a derived class itself becomes the base for a further derived class C. method overloading — treating a derived-class object through a base-class pointer or reference D. method overloading — defining several methods with the same name but different parameter lists in one scope Reveal the answer + AI explanation — free account
16. What is method overriding ? Mid A. defining several methods with the same name but different parameter lists in one scope B. a combination of two or more inheritance types, such as hierarchical plus multiple, in one design C. a derived class redefining a base-class method with the same signature to change its behavior D. an ambiguity in multiple inheritance where a class inherits the same base twice through two parents Reveal the answer + AI explanation — free account
17. Which term means: "a derived class redefining a base-class method with the same signature to change its behavior"? Mid A. run-time polymorphism B. method overloading C. upcasting D. method overriding Reveal the answer + AI explanation — free account
18. Which statement is correct? Mid A. method overriding — a base-class method declared virtual so the derived override is chosen at run time via the object B. method overriding — a class deriving from exactly one base class C. method overriding — defining several methods with the same name but different parameter lists in one scope D. method overriding — a derived class redefining a base-class method with the same signature to change its behavior Reveal the answer + AI explanation — free account
19. What is compile-time polymorphism ? Mid A. a combination of two or more inheritance types, such as hierarchical plus multiple, in one design B. a derived class redefining a base-class method with the same signature to change its behavior C. a chain where a derived class itself becomes the base for a further derived class D. binding resolved by the compiler, achieved through overloading and templates Reveal the answer + AI explanation — free account
20. Which term means: "binding resolved by the compiler, achieved through overloading and templates"? Mid A. virtual function B. single inheritance C. hybrid inheritance D. compile-time polymorphism Reveal the answer + AI explanation — free account
21. Which statement is correct? Mid A. compile-time polymorphism — a class deriving from more than one base class at the same time B. compile-time polymorphism — a combination of two or more inheritance types, such as hierarchical plus multiple, in one design C. compile-time polymorphism — binding resolved by the compiler, achieved through overloading and templates D. compile-time polymorphism — a derived class redefining a base-class method with the same signature to change its behavior Reveal the answer + AI explanation — free account
22. What is run-time polymorphism ? Mid A. an ambiguity in multiple inheritance where a class inherits the same base twice through two parents B. binding resolved during execution through overridden virtual functions and dynamic dispatch C. defining several methods with the same name but different parameter lists in one scope D. a class deriving from more than one base class at the same time Reveal the answer + AI explanation — free account
23. Which term means: "binding resolved during execution through overridden virtual functions and dynamic dispatch"? Mid A. compile-time polymorphism B. method overloading C. upcasting D. run-time polymorphism Reveal the answer + AI explanation — free account
24. Which statement is correct? Mid A. run-time polymorphism — a combination of two or more inheritance types, such as hierarchical plus multiple, in one design B. run-time polymorphism — an ambiguity in multiple inheritance where a class inherits the same base twice through two parents C. run-time polymorphism — binding resolved during execution through overridden virtual functions and dynamic dispatch D. run-time polymorphism — a class deriving from exactly one base class Reveal the answer + AI explanation — free account
25. What is virtual function ? Mid A. treating a derived-class object through a base-class pointer or reference B. a base-class method declared virtual so the derived override is chosen at run time via the object C. an ambiguity in multiple inheritance where a class inherits the same base twice through two parents D. a per-class table of function pointers the runtime uses to dispatch virtual calls dynamically Reveal the answer + AI explanation — free account
26. Which term means: "a base-class method declared virtual so the derived override is chosen at run time via the object"? Mid A. hierarchical inheritance B. run-time polymorphism C. virtual function D. compile-time polymorphism Reveal the answer + AI explanation — free account
27. Which statement is correct? Mid A. virtual function — a per-class table of function pointers the runtime uses to dispatch virtual calls dynamically B. virtual function — a base-class method declared virtual so the derived override is chosen at run time via the object C. virtual function — defining several methods with the same name but different parameter lists in one scope D. virtual function — several derived classes inheriting from a single common base class Reveal the answer + AI explanation — free account
28. What is upcasting ? Mid A. treating a derived-class object through a base-class pointer or reference B. an ambiguity in multiple inheritance where a class inherits the same base twice through two parents C. a combination of two or more inheritance types, such as hierarchical plus multiple, in one design D. a class deriving from more than one base class at the same time Reveal the answer + AI explanation — free account
29. Which term means: "treating a derived-class object through a base-class pointer or reference"? Mid A. upcasting B. hierarchical inheritance C. method overriding D. vtable Reveal the answer + AI explanation — free account
30. Which statement is correct? Mid A. upcasting — a combination of two or more inheritance types, such as hierarchical plus multiple, in one design B. upcasting — treating a derived-class object through a base-class pointer or reference C. upcasting — a chain where a derived class itself becomes the base for a further derived class D. upcasting — binding resolved by the compiler, achieved through overloading and templates Reveal the answer + AI explanation — free accountShowing 30 of 39 OOP · Inheritance & Polymorphism questions — the full set, with answers, explanations and an AI tutor on every question, is inside.