What is meant by pre-conditions and post-conditions?
Answers
Answered by
1
Hey mate!
Here is ur answer!
▪ Pre-conditions are the things that must be true before a method. The method tells clients "this is what I expect from you".
▪ Post-conditions are the things that must be true after the method is complete.
It helps for you ^_^
Be Brainly!
Here is ur answer!
▪ Pre-conditions are the things that must be true before a method. The method tells clients "this is what I expect from you".
▪ Post-conditions are the things that must be true after the method is complete.
It helps for you ^_^
Be Brainly!
Answered by
0
A precondition is a prerequisite. It's the thing that has to happen before something else happens. ... When it's a verb, precondition means to prepare something (or someone).
Postcondition. From Wikipedia, the free encyclopedia. In computer programming, a postcondition is a condition or predicate that must always be true just after the execution of some section of code or after an operation in a formal specification. Postconditions are sometimes tested using assertions within the code ...
Similar questions