2.2

Creating Objects

AP Computer Science A

What is a method?

Calling methods — the dot operator

Two types of methods

1. Void methods — do something, return nothing

2. Non-void methods — do something AND return a value

Parameters and arguments

Methods with multiple parameters

Method signatures

Overloaded methods

Chaining method calls

Static methods vs. instance methods

A complete trace example

AP Exam Tips

Common Mistakes

Key Vocabulary