Course Python Mastery Bootcamp

Introduction to OOP

Course's Page 11 min Text by
User Image
Allan Garcia

In this class, we will learn what Orientation to Objects is. We will see the following topics:

  • Programming Paradigms;
  • What is Object-Oriented Programming?
  • What is an Object and a Class?
  • What are the attributes and methods?
  • Object-Oriented Pillars:
    -- Abstraction;
    -- Encapsulation;
    -- Inheritance;
    -- Polymorphism.

Programming Paradigms

Programming Paradigms are models to be followed during the construction of a programme, whose operation has already been extensively checked. Today, there are several such paradigms in the world of programming, among which we can highlight:

  • Imperative Programming: Models the program by a sequence of commands that the computer must execute. Usually, it is the first paradigm to be taught.
    Example: C Language

  • Object-Oriented Programming: Models the program based on the interaction between objects.