Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
4th Edition
ISBN: 9780134444321
Author: Tony Gaddis
Publisher: PEARSON
Question
Book Icon
Chapter 11.1, Problem 2CP
Program Plan Intro

Inheritance:

In Python, it is possible to construct a new class that inherits the members of an existing class, which is referred as “inheritance”.

Blurred answer
Students have asked these similar questions
In your own words, describe the relationship between classes and objects
Explain the difference between the "has-a" and "part-of" relationship of two objects in java by using examples.
Abstract classes and interfaces may be used interchangeably to specify the behavior of objects.How do you know whether you need an interface or an abstract class?
Knowledge Booster
Background pattern image
Recommended textbooks for you
  • Text book image
    EBK JAVA PROGRAMMING
    Computer Science
    ISBN:9781337671385
    Author:FARRELL
    Publisher:CENGAGE LEARNING - CONSIGNMENT
    Text book image
    Microsoft Visual C#
    Computer Science
    ISBN:9781337102100
    Author:Joyce, Farrell.
    Publisher:Cengage Learning,
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,