Loading [MathJax]/extensions/mml2jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Set as Cover Page of Book
    • License
    • Show TOC
    • Transcluded
    • OER program or Publisher
    • Autonumber Section Headings
    • License Version
    • Print CSS
  • Include attachments
Searching in
About 5 results
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/13%3A_Inheritance/13.02%3A_Attribute_Access
    This page outlines learning objectives for implementing subclasses in Python, detailing how they can inherit attributes from superclasses and define instance attributes in their `__init__()` method. I...This page outlines learning objectives for implementing subclasses in Python, detailing how they can inherit attributes from superclasses and define instance attributes in their `__init__()` method. It includes examples of subclass creation, attribute access, and display method modification. The page also offers practical exercises that encourage readers to apply these concepts, specifically through the Dessert and Cupcake example.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/13%3A_Inheritance/13.06%3A__Chapter_Summary
    This page covers inheritance in object-oriented programming, focusing on the is-a relationship, subclass attributes and methods, method overriding, and the use of `super()`. It introduces polymorphism...This page covers inheritance in object-oriented programming, focusing on the is-a relationship, subclass attributes and methods, method overriding, and the use of `super()`. It introduces polymorphism, hierarchical and multiple inheritance, and mixin classes. The chapter concludes by guiding readers on creating subclasses with distinct traits and overridden methods within different inheritance frameworks.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/13%3A_Inheritance/13.04%3A_Hierarchical_Inheritance
    This page outlines learning objectives on hierarchical inheritance in programming, detailing its concept where multiple classes derive from one superclass. It provides examples of creating organized c...This page outlines learning objectives on hierarchical inheritance in programming, detailing its concept where multiple classes derive from one superclass. It provides examples of creating organized class structures, specific code illustrations, checkpoint questions for comprehension, and a coding exercise for practical application involving class definitions with attributes and inheritance.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/16%3A_Answer_Key/16.12%3A_Chapter_13
    This page outlines key inheritance concepts in programming, including "is-a" and "has-a" relationships, class hierarchy, and method overriding. It discusses attribute access in subclasses, hierarchica...This page outlines key inheritance concepts in programming, including "is-a" and "has-a" relationships, class hierarchy, and method overriding. It discusses attribute access in subclasses, hierarchical and multiple inheritance, and best practices for defining classes and naming mixins. Examples illustrate class structures and behaviors in an object-oriented system.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/13%3A_Inheritance/13.01%3A_Inheritance_Basics
    This page outlines learning objectives regarding class relationships in programming, emphasizing is-a and has-a relationships, subclasses, superclasses, and inheritance in Python. It includes examples...This page outlines learning objectives regarding class relationships in programming, emphasizing is-a and has-a relationships, subclasses, superclasses, and inheritance in Python. It includes examples, such as a Daffodil class as a subclass of Plant, and offers practice checkpoints for identifying relationships and creating subclasses. The text also clarifies terminology and concludes with practical exercises to solidify understanding.

Support Center

How can we help?