Classes and Objects: Methods
Data objects in methods refer to fields of a class instance.
public void clear() {
x = 0;
y = 0;
}
lowerLeft.clear();// Invocation
Previous slide
Next slide
Back to the index
View Graphic Version
Notes:
No notes for slide 17