AP® Computer Science A glossary

Parameter

Also called: formal parameter

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

A variable declared in the header of a method or constructor. It receives the value passed in and can be used in the body.

Appears in the course and exam description (CED): 1.9.A.2

In public void grow(int cm), cm is a parameter. When the method is called, the parameter is initialized with a copy of the argument.

Learn it properly, with a checkpoint 1.9 Method Signatures

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