AP® Computer Science A glossary

Postcondition

Course: AP® Computer Science A Shows up in: Unit 1: Using Objects and Methods

A condition that must always be true after a method runs, describing what is returned or the values of the object's attributes.

Appears in the course and exam description (CED): 1.8.A.3

A postcondition describes the outcome of a method, such as returns the average as a double or the height has increased by cm.

Learn it properly, with a checkpoint 1.8 Documentation with Comments

Related terms

Was this page helpful?

No names are ever shown, and every public comment is checked by us first. Please do not include personal details. To get a reply, email [email protected].

↑ Top

Enlarged view of the selected figure