Please enable JavaScript to use CodeHS

Texas Computer Science I in Python

Classes and Objects Continued

Learn the principles of object-oriented design.

Lessons

18.1 Built-In Methods

  • Built-In Methods
  • Built-In Methods
  • The __repr__ method
  • The __eq__ method
  • The Point Class, Part 5
  • +4 more

18.2 Operator Overloading

  • Operator Overloading
  • Operator Overloading
  • The __add__ method
  • The Point Class, Part 6
  • The Rectangle Class, Part 7
  • +2 more

18.3 Class Variables vs. Instance Variables

  • Class Variables vs. Instance Variables
  • Class Variables vs. Instance Variables
  • The Point Class, Part 7
  • The Rectangle Class, Part 9
  • Cars
  • +2 more

18.4 Inheritance

  • Inheritance
  • Inheritance
  • Animals
  • Food, Part 1
  • Animals with Lists
  • +1 more

18.5 Hidden Attributes

  • Hidden Attributes
  • Hidden Attributes
  • Secret Instance Variable
  • Only Even Rectangles Counted
  • Level Up
  • +1 more

18.6 Namespaces

  • Namespaces
  • Namespaces
  • Classes
  • Subclasses
  • Food, Part 3

18.7 Modules

  • Modules
  • Modules
  • Importing Entire Module
  • Importing Individual Components
  • Benefits of Individual Importing
  • +1 more

18.8 Classes and Objects Quiz

  • Classes and Objects Unit Test
  • Classes and Objects Badge

Courses that include this module