OOP interview questions

24 OOP questions from the C# bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is Inheritance?

Junior
  1. A.the mechanism by which a derived type acquires the members of a base type, enabling reuse and an is-a relationship
  2. B.a reference type defining a contract of members with no instance state, which a class or struct can implement, and a type may implement many of them
  3. C.a class marked so that no other type may derive from it, preventing further extension of the hierarchy
  4. D.the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference

Answer + AI explanation with Pro

2. Which term means: "the mechanism by which a derived type acquires the members of a base type, enabling reuse and an is-a relationship"?

Junior
  1. A.Property
  2. B.Sealed class
  3. C.Inheritance
  4. D.Abstract class

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.Inheritance — the mechanism by which a derived type acquires the members of a base type, enabling reuse and an is-a relationship
  2. B.Inheritance — a class that cannot be instantiated directly and may declare members without implementation that derived classes must complete
  3. C.Inheritance — a member that exposes a getter and/or setter accessor to read or write a value, syntactically used like a field but backed by methods
  4. D.Inheritance — a reference type defining a contract of members with no instance state, which a class or struct can implement, and a type may implement many of them

Answer + AI explanation with Pro

4. What is Interface?

Junior
  1. A.a base-class method explicitly marked to permit a derived class to supply a replacement implementation that is selected at run time
  2. B.a reference type defining a contract of members with no instance state, which a class or struct can implement, and a type may implement many of them
  3. C.a class that cannot be instantiated directly and may declare members without implementation that derived classes must complete
  4. D.redeclaring an inherited member with the new modifier so the derived version shadows rather than polymorphically replaces the base version, dispatch depending on the static reference type

Answer + AI explanation with Pro

5. Which term means: "a reference type defining a contract of members with no instance state, which a class or struct can implement, and a type may implement many of them"?

Junior
  1. A.Abstract class
  2. B.Override
  3. C.Inheritance
  4. D.Interface

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.Interface — the mechanism by which a derived type acquires the members of a base type, enabling reuse and an is-a relationship
  2. B.Interface — redeclaring an inherited member with the new modifier so the derived version shadows rather than polymorphically replaces the base version, dispatch depending on the static reference type
  3. C.Interface — a reference type defining a contract of members with no instance state, which a class or struct can implement, and a type may implement many of them
  4. D.Interface — the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference

Answer + AI explanation with Pro

7. What is Abstract class?

Mid
  1. A.redeclaring an inherited member with the new modifier so the derived version shadows rather than polymorphically replaces the base version, dispatch depending on the static reference type
  2. B.a class that cannot be instantiated directly and may declare members without implementation that derived classes must complete
  3. C.a class marked so that no other type may derive from it, preventing further extension of the hierarchy
  4. D.a member that exposes a getter and/or setter accessor to read or write a value, syntactically used like a field but backed by methods

Answer + AI explanation with Pro

8. Which term means: "a class that cannot be instantiated directly and may declare members without implementation that derived classes must complete"?

Mid
  1. A.Abstract class
  2. B.Interface
  3. C.Override
  4. D.Method hiding

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.Abstract class — the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference
  2. B.Abstract class — redeclaring an inherited member with the new modifier so the derived version shadows rather than polymorphically replaces the base version, dispatch depending on the static reference type
  3. C.Abstract class — a class marked so that no other type may derive from it, preventing further extension of the hierarchy
  4. D.Abstract class — a class that cannot be instantiated directly and may declare members without implementation that derived classes must complete

Answer + AI explanation with Pro

10. What is Sealed class?

Mid
  1. A.a class that cannot be instantiated directly and may declare members without implementation that derived classes must complete
  2. B.a member that exposes a getter and/or setter accessor to read or write a value, syntactically used like a field but backed by methods
  3. C.a class marked so that no other type may derive from it, preventing further extension of the hierarchy
  4. D.the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference

Answer + AI explanation with Pro

11. Which term means: "a class marked so that no other type may derive from it, preventing further extension of the hierarchy"?

Mid
  1. A.Sealed class
  2. B.Method hiding
  3. C.Override
  4. D.Virtual method

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Sealed class — a base-class method explicitly marked to permit a derived class to supply a replacement implementation that is selected at run time
  2. B.Sealed class — a class marked so that no other type may derive from it, preventing further extension of the hierarchy
  3. C.Sealed class — the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference
  4. D.Sealed class — the mechanism by which a derived type acquires the members of a base type, enabling reuse and an is-a relationship

Answer + AI explanation with Pro

13. What is Virtual method?

Mid
  1. A.a class marked so that no other type may derive from it, preventing further extension of the hierarchy
  2. B.a base-class method explicitly marked to permit a derived class to supply a replacement implementation that is selected at run time
  3. C.a class that cannot be instantiated directly and may declare members without implementation that derived classes must complete
  4. D.the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference

Answer + AI explanation with Pro

14. Which term means: "a base-class method explicitly marked to permit a derived class to supply a replacement implementation that is selected at run time"?

Mid
  1. A.Property
  2. B.Virtual method
  3. C.Override
  4. D.Interface

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.Virtual method — a member that exposes a getter and/or setter accessor to read or write a value, syntactically used like a field but backed by methods
  2. B.Virtual method — a base-class method explicitly marked to permit a derived class to supply a replacement implementation that is selected at run time
  3. C.Virtual method — a class that cannot be instantiated directly and may declare members without implementation that derived classes must complete
  4. D.Virtual method — redeclaring an inherited member with the new modifier so the derived version shadows rather than polymorphically replaces the base version, dispatch depending on the static reference type

Answer + AI explanation with Pro

16. What is Override?

Mid
  1. A.a base-class method explicitly marked to permit a derived class to supply a replacement implementation that is selected at run time
  2. B.the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference
  3. C.a member that exposes a getter and/or setter accessor to read or write a value, syntactically used like a field but backed by methods
  4. D.a reference type defining a contract of members with no instance state, which a class or struct can implement, and a type may implement many of them

Answer + AI explanation with Pro

17. Which term means: "the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference"?

Mid
  1. A.Method hiding
  2. B.Override
  3. C.Property
  4. D.Virtual method

Answer + AI explanation with Pro

18. Which statement is correct?

Mid
  1. A.Override — a base-class method explicitly marked to permit a derived class to supply a replacement implementation that is selected at run time
  2. B.Override — the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference
  3. C.Override — the mechanism by which a derived type acquires the members of a base type, enabling reuse and an is-a relationship
  4. D.Override — a class marked so that no other type may derive from it, preventing further extension of the hierarchy

Answer + AI explanation with Pro

19. What is Method hiding?

Senior
  1. A.a reference type defining a contract of members with no instance state, which a class or struct can implement, and a type may implement many of them
  2. B.redeclaring an inherited member with the new modifier so the derived version shadows rather than polymorphically replaces the base version, dispatch depending on the static reference type
  3. C.a class marked so that no other type may derive from it, preventing further extension of the hierarchy
  4. D.the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference

Answer + AI explanation with Pro

20. Which term means: "redeclaring an inherited member with the new modifier so the derived version shadows rather than polymorphically replaces the base version, dispatch depending on the static reference type"?

Senior
  1. A.Override
  2. B.Abstract class
  3. C.Method hiding
  4. D.Inheritance

Answer + AI explanation with Pro

21. Which statement is correct?

Senior
  1. A.Method hiding — a reference type defining a contract of members with no instance state, which a class or struct can implement, and a type may implement many of them
  2. B.Method hiding — a class that cannot be instantiated directly and may declare members without implementation that derived classes must complete
  3. C.Method hiding — redeclaring an inherited member with the new modifier so the derived version shadows rather than polymorphically replaces the base version, dispatch depending on the static reference type
  4. D.Method hiding — a member that exposes a getter and/or setter accessor to read or write a value, syntactically used like a field but backed by methods

Answer + AI explanation with Pro

22. What is Property?

Junior
  1. A.a member that exposes a getter and/or setter accessor to read or write a value, syntactically used like a field but backed by methods
  2. B.the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference
  3. C.redeclaring an inherited member with the new modifier so the derived version shadows rather than polymorphically replaces the base version, dispatch depending on the static reference type
  4. D.the mechanism by which a derived type acquires the members of a base type, enabling reuse and an is-a relationship

Answer + AI explanation with Pro

23. Which term means: "a member that exposes a getter and/or setter accessor to read or write a value, syntactically used like a field but backed by methods"?

Junior
  1. A.Property
  2. B.Interface
  3. C.Method hiding
  4. D.Abstract class

Answer + AI explanation with Pro

24. Which statement is correct?

Junior
  1. A.Property — a reference type defining a contract of members with no instance state, which a class or struct can implement, and a type may implement many of them
  2. B.Property — the keyword applied in a derived class to replace a base member's implementation while preserving polymorphic dispatch through a base reference
  3. C.Property — a class that cannot be instantiated directly and may declare members without implementation that derived classes must complete
  4. D.Property — a member that exposes a getter and/or setter accessor to read or write a value, syntactically used like a field but backed by methods

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every OOP question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers