CodePhataa
Home
GoAlgo
Revision Hub
Learning Path
Challenge
Compiler
More
Toggle theme
Open menu
Inheritance, Interfaces, and Types | Java Flashcards | CodePhataa | CodePhataa
Inheritance, Interfaces, and Types
Decks
Inheritance, Interfaces, and Types
01
/
34
LSP
Question
What does subtyping require?
Tap to reveal
Answer
The subtype honours the supertype contract (Liskov). Callers must not be surprised.