Is it possible to inherit one class from another class?



Is it possible to inherit one class from another class?..

Answer / Anand Kumar Tiwari

Yes, in Python, a class can inherit properties and methods from another class through a process called inheritance. The class that inherits is called the subclass or derived class, while the class being inherited from is called the superclass or base class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

How is fail over mechanism works in python?

1 Answers  


What does append () do in python?

1 Answers  


What is enumerate python?

1 Answers  


Is python interpreter or compiler?

1 Answers  


What is pip and pip freeze commands will do?

1 Answers  


Is Python a compiled language or an interpreted language?

2 Answers  


Tell me is there a switch or case statement in python? If not then what is the reason for the same?

1 Answers  


What are the disadvantages of the Python programming language?

1 Answers  


Point out some of the key features of python?

1 Answers  


What are the two modes of python?

1 Answers  


Is empty string python?

1 Answers  


Tell me what is the difference between xrange and range?

1 Answers  


Categories