COMPSCI 61A Midterm: Midterm Notes part 6

45 views1 pages
25 Jan 2018
School
Professor
zogo39484755 and 6 others unlocked
COMPSCI 61A Full Course Notes
22
COMPSCI 61A Full Course Notes
Verified Note
22 documents

Document Summary

Message passing : objects interacting by looking up each others attributes attribute look - up mes allow diff types to respond to the same image just with same attribute name. :( attribute name : elicits similar behavior from diet classes along with a specification. What they mean example : strand rpr in any clad has same behavior. Names ex : init blah . invoked interacts with built in object system in some way automatically when an objeut is constructed reph : display an object as a python expression. 11 one two bookendsboollohdzew one . boo , . one . Ot interface if change add then can use @and this is changed. Has a length and element selection ex a list is a kind of built in sequence. Special method names getitem - and leh base. Link ( 3 link ( 4 link empty ) * @ property removes need for when calling a method with se.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents