Question

What is inheritance in Python?

A When one class can use the methods and attributes of another class
B When one class can use the methods and attributes of another class
C When one class can only use the attributes of another class
D When one class cannot use the methods and attributes of another class
E When one class is the same as another class
Practice Next

Hey! Ask a query