Lesson 7.1 · College Board Unit 1
Methods and Parameters
Java passes arguments by value. A primitive parameter receives a copied value; an object parameter receives a copied reference that can still refer to the same object.
Code Scholars Tutoring · AP Computer Science A
Where the free-response section lives. The unit covers writing a method to a specification and designing a class that protects its own state, which together account for most FRQ credit.
Lesson 7.1 · College Board Unit 1
Java passes arguments by value. A primitive parameter receives a copied value; an object parameter receives a copied reference that can still refer to the same object.
Lesson 7.2 · College Board Unit 1
return ends the current method immediately. A non-void method must return a compatible value on every possible execution path.
Lesson 7.3 · College Board Unit 3
A class defines fields and behavior; each constructed object has its own instance fields. Constructors have the class name and no return type.
Lesson 7.4 · College Board Unit 3
Keep fields private and expose methods that preserve the object's rules. Accessors observe state; mutators change it through controlled operations.
Work through questions with a tutor and get help with the steps you find difficult.
Get help with this topic