Computer Science Notes

  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Computer Science Notes as PDF for free.

More details

  • Words: 158
  • Pages: 1
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)

Related Documents

Computer Science Notes
October 2019 24
Computer Science
May 2020 18
Computer Science
November 2019 28
Computer Science
July 2020 5
Computer Science
June 2020 9