PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: barber

MIT6 0001F16 Object Oriented Programming

Object Oriented Programming (download slides and .pyfiles follow along!)6 . 0 0 0 1 L E C T U R E LECTURE 81 OBJECTS Python supports many different kinds of "Hello"[1, 5, 7, 11, 13]{"CA": "California", "MA": "Massachusetts"} each is an Object , and every Object has: a type an internal data representation(primitive or composite) a set of procedures for interactionwith the Object an Object is an instanceof a type 1234 is an instance of an int "hello"is an instance of a LECTURE 82 Object Oriented Programming (OOP) EVERYTHING IN PYTHON IS AN Object (and has a type) can create new objects of some type can manipulate objects can destroy objects explicitly using delor just forget about them python system will reclaim destroyed or inacc

OBJECT ORIENTED PROGRAMMING (OOP) EVERYTHING IN PYTHON IS AN OBJECT (and has a type) can create new objects of some type can manipulate objects can destroy objects •explicitly using delor just “forget” about them •python system will reclaim destroyed or inaccessible objects –called “garbage collection” 6.0001 LECTURE 8 3

Loading..

Tags:

  Programming, Object, Oriented, Object oriented programming

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of MIT6 0001F16 Object Oriented Programming

Related search queries