Learn Object-Oriented Programming in Python

Learn Object-Oriented Programming in Python

Learn Object-Oriented Programming in Python
Learn Object-Oriented Programming in Python

Learn Object-Oriented Programming in Python

Learn to write cleaner, more modular, and more scaleable code in Python by gaining a master of Object Oriented Programming (OOP).

You'll start with the basics of object oriented programming and build up to more advanced concepts such as inheritance, information hiding, and polymorphism.

Along the way you'll learn how each concept applies to Python in particular, as well as how various Python features make it particularly convenient for OOP.

This course is filled with hands-on coding challenges, playgrounds, snippets, and illustrations to keep things interactive.

Contents

1. Introduction to Object-Oriented Programming

  • A Brief Introduction
  • Modern Object-Oriented Languages
2. Classes and Objects
  • Introduction to Objects and Classes
  • Declaring a Class in Python
  • Implementing Properties in a Class
  • Initializing Objects
  • Class and Instance Variables
  • Implementing Methods in a Class
  • Class Methods and Static Methods
  • Access Modifiers
  • Quick Quiz!
  • Challenge 1: Square Numbers and Return Their Sum
  • Solution Review 1: Square Numbers and Return Their Sum
  • Challenge 2: Calculate the Student's Performance
  • Solution Review 2: Calculate the Student's Performance
  • Challenge 3: Implement a Calculator Class
  • Solution Review 3: Implement a Calculator Class
3. Information Hiding
  • What is Information Hiding?
  • Encapsulation
  • Getters and Setters
  • Understanding Encapsulation Using Examples
  • Quick Quiz!
  • Challenge 1: Implement Rectangle Class Using the Encapsulation
  • Solution Review: Implement Rectangle Class Using the Encapsulatio
  • Challenge 2: Implement the Complete Student Class
  • Solution Review: Implement the Complete Student Class
4. Inheritance
  • What is Inheritance?
  • The Syntax and Terminologies
  • Super Function
  • Types of Inheritance
  • Advantages of Inheritance
  • Quick Quiz!
  • Challenge 1: Implement a Banking Account
  • Solution Review: Implement a Banking Account
  • Challenge 2: Handling a Bank Account
  • Solution Review: Handling a Bank Account
5. Polymorphism
  • What is Polymorphism?
  • Polymorphism Using Methods
  • Polymorphism Using Inheritance
  • Method Overriding
  • Operator Overloading
  • Polymorphism Using Duck Typing
  • Abstract Base Classes
  • Quick Quiz!
  • Challenge 1: Override a Method Using the Super Function
  • Solution Review 1: Override a Method using the Super Function
  • Challenge 2: Implement an Animal Class
  • Solution Review 2: Implement an Animal Class
6. Object Relationships
  • A Brief Introduction
  • Aggregation
  • Composition
  • Quick Quiz!
  • Challenge 1: Cars and Engines!
  • Solution Review 1: Cars and Engines!
  • Challenge 2: Implementing a Sports Team!
  • Solution Review 2: Implementing a Sports Team!
  • Conclusion
https://www.educative.io/courses/learn-object-oriented-programming-in-python?aff=xDzJ

Share This :
Santosh Kumar

We are sharing the knowledge for free of charge and help especially third world countries who can create a simple blog and start making money from own blog. so we have launched this site. Facebook | Twitter | Pinterest | LinkedIn