Skip to content

samade747/OOP-PRO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

33 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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

No packages published

Languages