Chapter 6. Object-Oriented Programming

Terms in This Chapter

  • Aggregation/containment

  • Attribute

  • Cardinality

  • Class

  • Class hierarchy

  • Code reuse

  • Cohesion

  • Coupling

  • Encapsulation

  • First class object

  • Garbage collection

  • Getter/Setter methods

  • Inheritance (implementation/ interface)

  • Instance

  • Instantiation

  • Late-bound polymorphism

  • Multiple inheritance

  • Object

  • Replaceability

  • Specialization

  • Typed polymorphism

This chapter explains the fundamentals of object-oriented programming, as well as why it's important and how to do it in Python.

Get Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.