Skip to content

samade747/OOP-PRO

Repository files navigation

📘 Learning Python OOP - Viva Preparation

This repository is dedicated to mastering Object-Oriented Programming (OOP) concepts in Python, specifically structured to help with viva and interview preparation.


📌 Topics Covered

  1. 🧠 OOP

    • Introduction to Object-Oriented Programming in Python
  2. 🏛️ Pillars of OOP

    • Encapsulation
    • Abstraction
    • Inheritance
    • Polymorphism
  3. 🔐 Encapsulation

  4. 🎭 Abstraction

  5. 👪 Inheritance

  6. 🔁 Polymorphism

  7. ⚔️ OOP vs Procedural Programming

    • Key differences and use cases
  8. 🧱 Basics of Classes and Objects

    • 👤 Classes: Blueprints for creating objects
    • 🧩 Objects: Instances of classes
  9. 🛠️ Attributes and Methods

    • Instance variables
    • Class variables
    • Instance methods
  10. 🏗️ Constructors

    • __init__ method to initialize objects
  11. 🧨 Destructors

    • __del__ method to clean up when an object is deleted
  12. 🆚 Class Attributes vs Instance Attributes

    • Shared vs unique data among instances
  13. 🏷️ @classmethod

    • Methods that take the class as the first argument
  14. 🧷 @staticmethod

    • Methods that don’t take instance or class as a parameter
  15. 👤 @instancemethod

    • Regular methods that operate on instance data

📂 Usage

This repository is helpful for:

  • Viva preparation
  • Technical interview revision
  • Deep understanding of Python OOP concepts

📎 License

This project is open-source and available under the MIT License.

About

Learning Python OOP - Viva Preparation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages