Skip to content
My Media
My Playlists
My History
Login
Add New
Media Upload
My Media
My Playlists
My History
Login
Cornell University
Cornell University
Home
Channels
My Media
Help
Home
Channels
My Media
Help
Lesson 20.5 Method Definitions
From
Hannah Lee
views
Related Media
Details
Back
In addition to attributes, objects also have methods. In this video, we show how to add a method definition to a class. For the most part, it is as simple as indenting a function definition inside of the class definition.
Tags