Back to Freecodecamp

Inheritance

curriculum/challenges/english/blocks/object-oriented-programming-with-python/inheritance-video.md

latest494 B
Original Source

--description--

In this video, you will learn about inheritance in object oriented programming.

--questions--

--text--

What is inheritance in object oriented programming?

--answers--

This is when a class reuses code from a function.


This is when a class creates a copy of another class.


This is when a class inherits properties and behaviors from another class.


This is when a class hides its methods and variables from other classes.

--video-solution--

3