Class Notes (838,455)
Canada (510,888)
CSCA20H3 (25)
Lecture

Class.docx

3 Pages
78 Views
Unlock Document

Department
Computer Science
Course
CSCA20H3
Professor
Benj Hellie
Semester
Winter

Description
Class Steps Class ColorobjectDef initself rgb Selfredr Selfgreeng Selfbluebthis method after definition is an operation you can run on the new type Color It is a constructor as it is called whenever a new object is addedto add a object to the classColortype just blackColor but you need to assign values to the instance vairables associated with the class objectColor object which is black and you need the init methodthis is a constructor a method that will be run whenever a new object is ad
More Less

Related notes for CSCA20H3

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit