| |
| | [Chapter 5] 5.3 Object Creation (Site not responding. Last check: 2007-10-10) |
 | | Constructors, like other methods, can accept arguments and can be overloaded (they are not, however, inherited like other methods; we'll discuss inheritance later). |
 | | Default constructors play a special role in that, if we don't define any constructors for a class, an empty default constructor is supplied for us. |
 | | Constructors can, however, be declared with the visibility modifiers public, private, or protected, to control their accessibility. |
| www.serve.com /~josh/books/java/exp/ch05_03.htm (1013 words) |
|