Navigation:  Appendix A: Jumping Into Smalltalk >

Instance Creation

Previous pageReturn to chapter overviewNext page

In Smalltalk, classes are real objects. To create an instance, just send new to the class. Methods for a class are called class methods (similar to Java static methods).

Java

Smalltalk

new Reservation();

Reservation new