#Ve280 Final Review
the children S inherits the base type T (supertype), written as S<:T
.
- Add one or more operations. For
MaxIntSet <: IntSet
, we add a new methodMaxIntSet::max()
. - Strengthen the postcondition of one or more operations. We can just print something (do something more than origin).