Next: Statements
Up: Classes
Previous: Classes
The body of a class declaration should be organized in the following orders:
- Class variable field declarations
- Instance variable field declarations
- Constructor declarations
- Class method declarations
- Instance method declarations
These three elements, fields, constructors, and methods, are collectively referred to as "members".
Dennis Seah
Mon Jul 17 11:43:42 2006