Question Bank
3705 approved questions from the community
What is the 'diamond problem' in multiple inheritance?
What is logical cohesion?
What is the primary difference between an abstract class and a concrete class?
What is hybrid inheritance?
What is communicational cohesion?
What is a mixin in object-oriented programming?
What is the Single Responsibility Principle (SRP) in relation to cohesion?
What is the difference between aggregation and composition?
What type of polymorphism is method overloading?
What is dynamic dispatch in the context of polymorphism?
What is the Liskov Substitution Principle (LSP)?
Polymorphism allows objects of derived classes to be treated as objects of their base class.
Which access specifier makes class members globally accessible to all classes?
What is the primary purpose of getters and setters in encapsulation?
Which access specifier makes class members accessible only within the defining class?
What relationship does composition establish between classes?
Which access specifier makes class members accessible within the class and its subclasses?
What type of polymorphism is method overriding?
What are the three core characteristics of an object?
What is coupling in OOP?