Index: doc/next-tutorial.html =================================================================== diff -u -re92bab3b262d521ac909fd8956352473909197fb -rad4acf8e7b3c2279b4711aa9cfd5aed6d86e2b98 --- doc/next-tutorial.html (.../next-tutorial.html) (revision e92bab3b262d521ac909fd8956352473909197fb) +++ doc/next-tutorial.html (.../next-tutorial.html) (revision ad4acf8e7b3c2279b4711aa9cfd5aed6d86e2b98) @@ -818,8 +818,8 @@

2.1. Define a Class "Stack"

In our first example, we define a class named Stack with the methods push and pop. When an instance of the stack is created (e.g. a -concrete stack s1) the stack will be initialized via the constructor -init.

+concrete stack s1) the stack will contain an instance variable named +things initialized with the an empty list.

Listing 2: Class Stack