1. What is constructor ? Junior A. an implicit pointer inside a non-static method referring to the object on which it was called B. a class-level member shared by all objects rather than stored per instance C. a virtual method declared with = 0 that forces derived classes to provide an implementation D. a special method that runs when an object is created to initialize its state Reveal the answer + AI explanation — free account
2. Which term means: "a special method that runs when an object is created to initialize its state"? Junior A. public access modifier B. this pointerC. friend function D. constructor Reveal the answer + AI explanation — free account
3. Which statement is correct? Junior A. constructor — a visibility level making a member accessible from anywhere outside the class B. constructor — a virtual method declared with = 0 that forces derived classes to provide an implementation C. constructor — an implicit pointer inside a non-static method referring to the object on which it was called D. constructor — a special method that runs when an object is created to initialize its state Reveal the answer + AI explanation — free account
4. What is destructor ? Junior A. an implicit pointer inside a non-static method referring to the object on which it was called B. a non-member function granted access to the private and protected members of a class C. a visibility level allowing access within the class and its derived classes D. a special method that runs when an object is destroyed to release its resources Reveal the answer + AI explanation — free account
5. Which term means: "a special method that runs when an object is destroyed to release its resources"? Junior A. abstract class B. abstract class vs interface C. destructor D. pure virtual function Reveal the answer + AI explanation — free account
6. Which statement is correct? Junior A. destructor — a special method that runs when an object is destroyed to release its resources B. destructor — an abstract class can hold state and concrete methods, while an interface is a pure behavioral contract C. destructor — a visibility level allowing access within the class and its derived classes D. destructor — a constructor that initializes a new object as a copy of an existing object of the same class Reveal the answer + AI explanation — free account
7. What is public access modifier ? Junior A. a visibility level restricting a member to access only within its own class B. a visibility level making a member accessible from anywhere outside the class C. a virtual method declared with = 0 that forces derived classes to provide an implementation D. a purely abstract contract of method signatures that implementing classes must define Reveal the answer + AI explanation — free account
8. Which term means: "a visibility level making a member accessible from anywhere outside the class"? Junior A. abstract class vs interface B. public access modifier C. interface D. copy constructor Reveal the answer + AI explanation — free account
9. Which statement is correct? Junior A. public access modifier — a non-member function granted access to the private and protected members of a class B. public access modifier — an implicit pointer inside a non-static method referring to the object on which it was called C. public access modifier — a visibility level making a member accessible from anywhere outside the class D. public access modifier — a class that cannot be instantiated and may hold both concrete and unimplemented methods Reveal the answer + AI explanation — free account
10. What is private access modifier ? Junior A. a visibility level restricting a member to access only within its own class B. a purely abstract contract of method signatures that implementing classes must define C. a visibility level allowing access within the class and its derived classes D. a visibility level making a member accessible from anywhere outside the class Reveal the answer + AI explanation — free account
11. Which term means: "a visibility level restricting a member to access only within its own class"? Junior A. private access modifier B. static member C. abstract class vs interface D. friend function Reveal the answer + AI explanation — free account
12. Which statement is correct? Junior A. private access modifier — an implicit pointer inside a non-static method referring to the object on which it was called B. private access modifier — a purely abstract contract of method signatures that implementing classes must define C. private access modifier — a visibility level restricting a member to access only within its own class D. private access modifier — a visibility level allowing access within the class and its derived classes Reveal the answer + AI explanation — free account
13. What is protected access modifier ? Junior A. a constructor that initializes a new object as a copy of an existing object of the same class B. a special method that runs when an object is created to initialize its state C. a visibility level allowing access within the class and its derived classes D. a class-level member shared by all objects rather than stored per instance Reveal the answer + AI explanation — free account
14. Which term means: "a visibility level allowing access within the class and its derived classes"? Junior A. destructor B. protected access modifier C. public access modifier D. pure virtual function Reveal the answer + AI explanation — free account
15. Which statement is correct? Junior A. protected access modifier — a visibility level allowing access within the class and its derived classes B. protected access modifier — a class-level member shared by all objects rather than stored per instance C. protected access modifier — a class that cannot be instantiated and may hold both concrete and unimplemented methods D. protected access modifier — a non-member function granted access to the private and protected members of a class Reveal the answer + AI explanation — free account
16. What is abstract class ? Mid A. an abstract class can hold state and concrete methods, while an interface is a pure behavioral contract B. a visibility level allowing access within the class and its derived classes C. a non-member function granted access to the private and protected members of a class D. a class that cannot be instantiated and may hold both concrete and unimplemented methods Reveal the answer + AI explanation — free account
17. Which term means: "a class that cannot be instantiated and may hold both concrete and unimplemented methods"? Mid A. abstract class B. public access modifier C. destructor D. friend function Reveal the answer + AI explanation — free account
18. Which statement is correct? Mid A. abstract class — an implicit pointer inside a non-static method referring to the object on which it was called B. abstract class — a class that cannot be instantiated and may hold both concrete and unimplemented methods C. abstract class — a virtual method declared with = 0 that forces derived classes to provide an implementation D. abstract class — a visibility level allowing access within the class and its derived classes Reveal the answer + AI explanation — free account
19. What is interface ? Mid A. a visibility level making a member accessible from anywhere outside the class B. a virtual method declared with = 0 that forces derived classes to provide an implementation C. a purely abstract contract of method signatures that implementing classes must define D. a visibility level restricting a member to access only within its own class Reveal the answer + AI explanation — free account
20. Which term means: "a purely abstract contract of method signatures that implementing classes must define"? Mid A. private access modifier B. constructor C. interface D. abstract class Reveal the answer + AI explanation — free account
21. Which statement is correct? Mid A. interface — a special method that runs when an object is destroyed to release its resources B. interface — a purely abstract contract of method signatures that implementing classes must define C. interface — a visibility level restricting a member to access only within its own class D. interface — a class that cannot be instantiated and may hold both concrete and unimplemented methods Reveal the answer + AI explanation — free account
22. What is pure virtual function ? Mid A. a special method that runs when an object is destroyed to release its resources B. a virtual method declared with = 0 that forces derived classes to provide an implementation C. an abstract class can hold state and concrete methods, while an interface is a pure behavioral contract D. a non-member function granted access to the private and protected members of a class Reveal the answer + AI explanation — free account
23. Which term means: "a virtual method declared with = 0 that forces derived classes to provide an implementation"? Mid A. protected access modifier B. static member C. pure virtual function D. public access modifier Reveal the answer + AI explanation — free account
24. Which statement is correct? Mid A. pure virtual function — a virtual method declared with = 0 that forces derived classes to provide an implementation B. pure virtual function — a constructor that initializes a new object as a copy of an existing object of the same class C. pure virtual function — a purely abstract contract of method signatures that implementing classes must define D. pure virtual function — a visibility level making a member accessible from anywhere outside the class Reveal the answer + AI explanation — free account
25. What is copy constructor ? Mid A. a class-level member shared by all objects rather than stored per instance B. a visibility level restricting a member to access only within its own class C. a constructor that initializes a new object as a copy of an existing object of the same class D. a visibility level making a member accessible from anywhere outside the class Reveal the answer + AI explanation — free account
26. Which term means: "a constructor that initializes a new object as a copy of an existing object of the same class"? Mid A. interface B. this pointerC. copy constructor D. pure virtual function Reveal the answer + AI explanation — free account
27. Which statement is correct? Mid A. copy constructor — a constructor that initializes a new object as a copy of an existing object of the same class B. copy constructor — an abstract class can hold state and concrete methods, while an interface is a pure behavioral contract C. copy constructor — an implicit pointer inside a non-static method referring to the object on which it was called D. copy constructor — a purely abstract contract of method signatures that implementing classes must define Reveal the answer + AI explanation — free account
28. What is static member ? Mid A. an abstract class can hold state and concrete methods, while an interface is a pure behavioral contract B. a virtual method declared with = 0 that forces derived classes to provide an implementation C. a class-level member shared by all objects rather than stored per instance D. a visibility level making a member accessible from anywhere outside the class Reveal the answer + AI explanation — free account
29. Which term means: "a class-level member shared by all objects rather than stored per instance"? Mid A. static member B. constructor C. protected access modifier D. interface Reveal the answer + AI explanation — free account
30. Which statement is correct? Mid A. static member — a special method that runs when an object is created to initialize its state B. static member — a visibility level allowing access within the class and its derived classes C. static member — a class-level member shared by all objects rather than stored per instance D. static member — an abstract class can hold state and concrete methods, while an interface is a pure behavioral contract Reveal the answer + AI explanation — free accountShowing 30 of 39 OOP · Abstraction Mechanisms questions — the full set, with answers, explanations and an AI tutor on every question, is inside.