Quiz: OOPS Revision Sheet Questions
Browse questions from Quiz: OOPS Revision Sheet. Each question has options and an explanation.
Questions — Page 1 of 2
- Which option best describes encapsulation?
- Why is composition often preferred over inheritance?
- Method overriding is resolved at runtime in most object-oriented languages.
- Which pairing is correct?
- What does abstraction primarily focus on?
- An interface is most useful when you want to:
- What is the primary goal of abstraction in Object-Oriented Programming?
- Which OOP concept is described as bundling data (state) with the methods that operate on that data, and controlling access to that state?
- Method overriding differs from method overloading in that overriding is typically resolved at:
- What is the relationship between composition and inheritance, often described as 'has-a' vs 'is-a'?