Methods
A class contains methods; prior to defining our own classes, we must explore method definitions
We've defined the main method many times
All methods follow the same syntax:
return-type method-name ( parameter-list ) {
statement-list
}
Previous slide
Next slide
Back to first slide
View graphic version