112k views
0 votes
What are the three methods that have contracts in the standard interface?

User JVillella
by
7.9k points

1 Answer

5 votes

Answer:

preconditions, postconditions, and class invariants.

Step-by-step explanation:

While all three share a common basic format — keyword followed by a list of assertion expressions — they appear in different locations

User Johnbaltis
by
8.6k points

No related questions found