Bummer! You have been redirected as the page you requested could not be found.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed C# Objects!
You have completed C# Objects!
Preview
Let's use inheritance to make a subclass of the Point class.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
So we'll create a new file
called MapLocation.cs in here
0:00
we'll create a new class
called map location.
0:03
We specify that the map location class
is a subclass of the point class by
0:16
typing : Point after the name of
the class here, and there you go.
0:21
We've just subclassed the point class.
0:26
We need to do one more thing
to make this class usable.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up