Answers

Question and Answer:

  Home  Wipro

⟩ What is Post-Condition in Wipro?

A condition that should return true before returning from an invoked function. In order to use a function correctly a post condition should return true. Taking a stack as an example, is empty () must necessarily be true after pushing the element into the stack when an element is pushed. The function is empty () is a post condition.

 147 views

More Questions for you: