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 |
How is fail over mechanism works in python?
What does append () do in python?
What is enumerate python?
Is python interpreter or compiler?
What is pip and pip freeze commands will do?
Is Python a compiled language or an interpreted language?
Tell me is there a switch or case statement in python? If not then what is the reason for the same?
What are the disadvantages of the Python programming language?
Point out some of the key features of python?
What are the two modes of python?
Is empty string python?
Tell me what is the difference between xrange and range?