Skip to main content

💻ap computer science a review

New Keyword in AP Computer Science A

Verified for the 2027 exam
Verified for the 2027 exam•Fiveable Content Team

Definition

The new keyword is used in Java to create an instance (object) of a class. It allocates memory for the object and initializes its attributes using the constructor method.

This definition is part of Fiveable's AP Computer Science A review, which also has guided practice questions.

"New Keyword" also found in: