View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide

Intro to Objects and Classes in Alice and Java Media Computation

You can introduce the notions of objects, classes, variables, messages, methods, parameters, and subclasses in Alice and Java.

Create objects in Alice and point out that each object has a unique reference in the object tree window.
Tell Alice objects to do things by creating a method. Point out that the methods work on the selected object.

Create objects in Java (World and Turtles) and tell the turtles to do things. Teach the turtles new tricks by
writing methods in the Turtle class. Add a method to an Alice class (like bunny hop).

Here are powerpoint slides and Alice worlds for this: