Constructors

A constructor is a member function that is used to initialize newly created objects. A constructor is recognized by the fact that the method name is the same as a class name. However, in other ways a constructor looks much like a method. For example, a constructor can take arguments, julst like other member functions.

[audio] [real] Text to accompany slide12, in Chapter 4 of An Introduction to Object-Oriented Programming