Codesignal Practice Test
CodeSignal Technical Assessment Object-Oriented Programming 3
What does the Liskov Substitution Principle (LSP) require?
Select your answer
A
Objects of a superclass should be replaceable with objects of its subclasses without breaking program correctness
B
A class should have only one reason to change
C
High-level modules should not depend directly on low-level modules
D
Interfaces should be client-specific rather than general-purpose
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →