Business Studies, asked by pruthvi5216, 1 year ago

What is meant by pre-conditions and post-conditions?

Answers

Answered by Anonymous
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!
Answered by Anonymous
0

<font color=red>

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).

< font color=blue>

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 ...

Hope it helps you

ItzRiya

Similar questions