Question: In the Design by Contract approach to software design, a method in a subclass that overrides a superclass method is allowed to ( choose all

In the Design by Contract approach to software design, a method in a subclass that overrides
a superclass method is allowed to (choose all that apply)
weaken the method's precondition
strengthen the method's precondition
strengthen the method's postcondition
weaken the method's postcondition
None of the other answers are correct-the precondition and postcondition must remain exactly the
same.
In the Design by Contract approach to software

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!