# Anatomy of a class # May 25, 2016 # CS101 # 1. Creating an object i.e., and instance of a class # 2. Retrieving data from an object # 3. Manipulating an object # 4. Defining a category of objects i.e., a class # 5. The structure of a class # 5a. Constructor --> Creates an object # 5b. Instance variables --> The data of the object # 5c. Accessor methods --> Retrieving data from an object # 5d. Mutator methods --> Modifying the data in the object # 6. Creating and using the new object
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question