Computer Science Notes: Jeroo •
•
•
Messages and methods o Messages can be used to: Give an object some information Tell an object to do something Ask an object for information (usually about itself) Any and all combinations of the above o A method is something inside the object that responds to your messages A message contains commands to do something Vocabulary Review o Class: the type, or description, of an object Jeroo classes are descriptions of: Island, water, flower, net, Jeroo o Constructor: a way to create an object. Comes as part of the class definition. o Object: an instance, or member, of a class You can only create Jeroos in your code; all other objects must be created visually. o Message: something you “say” to an object, either telling it something or asking it for information o Parameter: information sent to a method (information inside the parenthesis)