In C++, C#, Java and a few other languages a method that has the same name as the class in which it is defined has a special meaning. This is termed a constructor, and is used to initialize a newly created object. Notice also that the constructor does not specify a return type. We will have much more to say about constructors in chapter 5.

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