First page Back Continue Last page Graphics
Objects
Items that appear in Alice are objects
- Alice is an object, a car is an object, …
Objects have
- Properties – the objects characteristics
- Methods – actions that the object can perform
- Methods commonly result in an object performing some action – moving, turning, etc.
- Components made up of other objects
- Objects are commonly made of other objects (subparts)
- Alice has an 2 arms (each an object), 2 legs (each an object)
- Each of the subparts has its own properties and methods