February 2014
Beginner
1248 pages
62h 25m
English
• Methods are declared within classes. Classes are typically grouped into packages so they can be imported and reused.
• Methods allow you to modularize a program by separating its tasks into self-contained units. The statements in a method are written only once and hidden from other methods.
• Using existing methods as building blocks to create new programs is a form of software reusability (p. 202) that allows you to avoid repeating code within a program.
Read now
Unlock full access