Home Segments Index Top Previous Next

250: Mainline

In Segment 211, you learned that the new message creates new instances when sent to class objects. The new method is therefore an instance-creation method. In other languages, instance-creation methods are called constructors.