previous | index | next

Writing Class Constructors

For most classes, you will write your own constructors that accept arguments (unlike default constructors).

These arguments will often be used to initialize values of the object's instance variables.


previous | index | next