AP® Computer Science A glossary

Constructor signature

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

The constructor's name (the class name) plus the ordered list of parameter types, such as Plant(String, int).

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

new Plant("Mint") calls Plant(String); new Plant("Fern", 30) calls Plant(String, int). Two constructors with the same parameter types do not compile.

Learn it properly, with a checkpoint 1.13 Object Creation and Storage (Instantiation)

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