Lessons: 18Length: 2 hours

Next lesson playing in 5 seconds

  • Overview
  • Transcript

5.3 Creating Subclasses

In this lesson we’ll create a couple of subclasses and have them extend our superclass allowing them to gain all of its functionality. This lets us reuse the code from our superclass and we could then add more features that are specific to the subclass if needed.