OOPS stands for Object-Oriented Programming System or Object-Oriented Programming Structure. It's a programming paradigm that organizes code into objects that contain data and behavior.
Problem solving with python programming OOP's Conceptrohitsharma24121
This document discusses object-oriented programming concepts in Python including classes, objects, inheritance, encapsulation, polymorphism and abstraction. It provides examples of defining classes and objects in Python, creating methods, modifying and deleting object properties, inheritance between parent and child classes using the super() function, and using abstraction, encapsulation and polymorphism. Key topics covered include class definitions, the __init__() method, self parameter, inheritance between multiple classes, and polymorphism through method overloading and overriding.
Python supports object-oriented programming through classes, objects, inheritance and polymorphism. Key concepts include: classes provide blueprints for objects with attributes and methods; inheritance allows classes to inherit attributes and methods from parent classes; polymorphism enables common interfaces for functions that can work on different objects. The document also discusses file handling in Python and different types of inheritance like single, multi-level, multiple and their syntax examples.
I’m thrilled to share my latest presentation on Object-Oriented Programming (OOP) in Python! This presentation delves into essential concepts that enhance code structure, promote reusability, and ensure maintainability. Whether you’re an experienced developer or new to the programming landscape, mastering OOP principles is key to writing efficient and effective code.
Key Highlights:
Core Principles of OOP: Get insights into encapsulation, abstraction, inheritance, and polymorphism.
Classes and Objects: Understand the blueprint for creating objects and their attributes.
Methodologies: Explore various types of inheritance, polymorphism, encapsulation, and abstraction.
Best Practices: Discover strategies to write cleaner and more maintainable code.
📊 Explore the presentation to see how OOP can elevate your programming skills and streamline your projects! Let’s embrace the future of software development with structured, reusable, and adaptable code.
I’d love to hear your thoughts, feedback, or any questions you may have! Happy coding! 💻✨
#Python #ObjectOrientedProgramming #OOP #SoftwareDevelopment #Coding #Programming #LearnToCode #TechTalks
Python programming computer science and engineeringIRAH34
Python supports object-oriented programming (OOP) through classes and objects. A class defines the attributes and behaviors of an object, while an object is an instance of a class. Inheritance allows classes to inherit attributes and methods from parent classes. Polymorphism enables classes to define common methods that can behave differently depending on the type of object. Operator overloading allows classes to define how operators like + work on class objects.
Python supports object-oriented programming through classes, objects, and related concepts like inheritance, polymorphism, and encapsulation. A class acts as a blueprint to create object instances. Objects contain data fields and methods. Inheritance allows classes to inherit attributes and behaviors from parent classes. Polymorphism enables the same interface to work with objects of different types. Encapsulation helps protect data by restricting access.
The document discusses object-oriented programming (OOP) concepts in Python. It defines OOP, classes, objects, attributes, methods, inheritance, and polymorphism. Key points include:
- OOP uses classes as templates for objects with identities, states, and behaviors.
- Classes define attributes and methods. Objects are instances of classes.
- Inheritance allows classes to inherit attributes and methods from parent classes. There are different types of inheritance.
- Polymorphism means the same message can be displayed in different forms. Abstraction and encapsulation hide unnecessary details from users.
This document discusses object-oriented programming concepts in Python including:
- Classes define templates for objects with attributes and methods. Objects are instances of classes.
- The __init__ method initializes attributes when an object is constructed.
- Classes can make attributes private using double underscores. Encapsulation hides implementation details.
- Objects can be mutable, allowing state changes, or immutable like strings which cannot change.
- Inheritance allows subclasses to extend and modify parent class behavior through polymorphism.
OOP Concepts Python with code refrences.pptxSofiMusic
Object-Oriented Programming (OOP) is a programming paradigm that uses objects and classes.
Helps in structuring the code for reusability, modularity, and scalability.
Python supports OOP along with procedural and functional programming.
Slide 2: Key Concepts of OOP
Class - Blueprint for creating objects.
Object - An instance of a class.
Encapsulation - Restricting direct access to some data.
Abstraction - Hiding complex implementation details.
Inheritance - Deriving new classes from existing ones.
Polymorphism - Ability to take multiple forms (method overriding and overloading).
Inheritance allows a subclass to inherit methods and properties from a parent class. The main types of inheritance are single, multiple, multilevel, hierarchical, and hybrid inheritance. Method overriding allows a child class to provide its own implementation of a method defined in the parent class, while maintaining the same method signature. Abstract classes define abstract methods that must be implemented in child classes, allowing for common interfaces. Access specifiers like public, protected, and private are used to control access to class methods and properties.
This document summarizes an upcoming webinar on Python. The webinar will cover object-oriented programming in Python, Numpy, and Pandas. It provides background on procedural programming versus object-oriented programming, describing key concepts of OOP like classes, objects, encapsulation, inheritance, polymorphism, and abstraction. It then goes into detail explaining each of these OOP concepts through examples and definitions.
This document provides an overview of object-oriented programming concepts in Python including objects, classes, inheritance, polymorphism, and encapsulation. It defines key terms like objects, classes, and methods. It explains how to create classes and objects in Python. It also discusses special methods, modules, and the __name__ variable.
This document discusses object-oriented programming concepts in Python like classes, objects, encapsulation, inheritance and polymorphism. It explains that classes are user-defined blueprints that contain data fields and methods, and objects are instances of classes. The key concepts of OOP like data encapsulation, abstraction, inheritance and polymorphism are explained with examples in Python. Various special methods like __init__(), __str__(), __repr__() and their usage with classes are also covered.
The document discusses object-oriented programming concepts in Python including classes, objects, methods, encapsulation, inheritance, and polymorphism. It provides examples of defining a class with attributes and methods, instantiating objects from a class, and accessing object attributes and methods. It also covers the differences between procedure-oriented and object-oriented programming, and fundamental OOP concepts like encapsulation, inheritance, and polymorphism in Python.
Object-oriented programming (OOP) organizes code around data objects rather than functions. In Python, classes are user-defined templates for objects that contain attributes (data) and methods (functions). When a class is instantiated, an object is created with its own copies of the attributes. Self refers to the object itself and allows methods to access and modify its attributes. Classes in Python allow for code reusability, modularity, and flexibility through encapsulation, inheritance, and polymorphism.
OOP in Python, a beginners guide..........FerryKemperman
The hair stylist
would cut the hair
Cook: The cook would cut
the vegetables
So the same word 'Cut' has different meaning depending on the context
This is an example of polymorphism. The same method name can behave
differently for different types of objects.
In OOP, polymorphism allows us to define methods in the child class that
have the same name as the methods in the parent class, but different
implementation.
This allows the child class to inherit the parent's interface while
modifying or extending the parent's functionality.
7/26/2014 VYBHAVA TECHNOLOGIES 27
Operator Overloading
Operator
Basics of Object Oriented Programming in PythonSujith Kumar
The document discusses key concepts of object-oriented programming (OOP) including classes, objects, methods, encapsulation, inheritance, and polymorphism. It provides examples of classes in Python and explains OOP principles like defining classes with the class keyword, using self to reference object attributes and methods, and inheriting from base classes. The document also describes operator overloading in Python to allow operators to have different meanings based on the object types.
How to Manage Allocations in Odoo 18 Time OffCeline George
Allocations in Odoo 18 Time Off allow you to assign a specific amount of time off (leave) to an employee. These allocations can be used to track and manage leave entitlements for employees, such as vacation days, sick leave, etc.
POS Reporting in Odoo 18 - Odoo 18 SlidesCeline George
To view all the available reports in Point of Sale, navigate to Point of Sale > Reporting. In this section, you will find detailed reports such as the Orders Report, Sales Details Report, and Session Report, as shown below.
More Related Content
Similar to Object-Oriented Programming System presentation (20)
The document discusses object-oriented programming (OOP) concepts in Python. It defines OOP, classes, objects, attributes, methods, inheritance, and polymorphism. Key points include:
- OOP uses classes as templates for objects with identities, states, and behaviors.
- Classes define attributes and methods. Objects are instances of classes.
- Inheritance allows classes to inherit attributes and methods from parent classes. There are different types of inheritance.
- Polymorphism means the same message can be displayed in different forms. Abstraction and encapsulation hide unnecessary details from users.
This document discusses object-oriented programming concepts in Python including:
- Classes define templates for objects with attributes and methods. Objects are instances of classes.
- The __init__ method initializes attributes when an object is constructed.
- Classes can make attributes private using double underscores. Encapsulation hides implementation details.
- Objects can be mutable, allowing state changes, or immutable like strings which cannot change.
- Inheritance allows subclasses to extend and modify parent class behavior through polymorphism.
OOP Concepts Python with code refrences.pptxSofiMusic
Object-Oriented Programming (OOP) is a programming paradigm that uses objects and classes.
Helps in structuring the code for reusability, modularity, and scalability.
Python supports OOP along with procedural and functional programming.
Slide 2: Key Concepts of OOP
Class - Blueprint for creating objects.
Object - An instance of a class.
Encapsulation - Restricting direct access to some data.
Abstraction - Hiding complex implementation details.
Inheritance - Deriving new classes from existing ones.
Polymorphism - Ability to take multiple forms (method overriding and overloading).
Inheritance allows a subclass to inherit methods and properties from a parent class. The main types of inheritance are single, multiple, multilevel, hierarchical, and hybrid inheritance. Method overriding allows a child class to provide its own implementation of a method defined in the parent class, while maintaining the same method signature. Abstract classes define abstract methods that must be implemented in child classes, allowing for common interfaces. Access specifiers like public, protected, and private are used to control access to class methods and properties.
This document summarizes an upcoming webinar on Python. The webinar will cover object-oriented programming in Python, Numpy, and Pandas. It provides background on procedural programming versus object-oriented programming, describing key concepts of OOP like classes, objects, encapsulation, inheritance, polymorphism, and abstraction. It then goes into detail explaining each of these OOP concepts through examples and definitions.
This document provides an overview of object-oriented programming concepts in Python including objects, classes, inheritance, polymorphism, and encapsulation. It defines key terms like objects, classes, and methods. It explains how to create classes and objects in Python. It also discusses special methods, modules, and the __name__ variable.
This document discusses object-oriented programming concepts in Python like classes, objects, encapsulation, inheritance and polymorphism. It explains that classes are user-defined blueprints that contain data fields and methods, and objects are instances of classes. The key concepts of OOP like data encapsulation, abstraction, inheritance and polymorphism are explained with examples in Python. Various special methods like __init__(), __str__(), __repr__() and their usage with classes are also covered.
The document discusses object-oriented programming concepts in Python including classes, objects, methods, encapsulation, inheritance, and polymorphism. It provides examples of defining a class with attributes and methods, instantiating objects from a class, and accessing object attributes and methods. It also covers the differences between procedure-oriented and object-oriented programming, and fundamental OOP concepts like encapsulation, inheritance, and polymorphism in Python.
Object-oriented programming (OOP) organizes code around data objects rather than functions. In Python, classes are user-defined templates for objects that contain attributes (data) and methods (functions). When a class is instantiated, an object is created with its own copies of the attributes. Self refers to the object itself and allows methods to access and modify its attributes. Classes in Python allow for code reusability, modularity, and flexibility through encapsulation, inheritance, and polymorphism.
OOP in Python, a beginners guide..........FerryKemperman
The hair stylist
would cut the hair
Cook: The cook would cut
the vegetables
So the same word 'Cut' has different meaning depending on the context
This is an example of polymorphism. The same method name can behave
differently for different types of objects.
In OOP, polymorphism allows us to define methods in the child class that
have the same name as the methods in the parent class, but different
implementation.
This allows the child class to inherit the parent's interface while
modifying or extending the parent's functionality.
7/26/2014 VYBHAVA TECHNOLOGIES 27
Operator Overloading
Operator
Basics of Object Oriented Programming in PythonSujith Kumar
The document discusses key concepts of object-oriented programming (OOP) including classes, objects, methods, encapsulation, inheritance, and polymorphism. It provides examples of classes in Python and explains OOP principles like defining classes with the class keyword, using self to reference object attributes and methods, and inheriting from base classes. The document also describes operator overloading in Python to allow operators to have different meanings based on the object types.
How to Manage Allocations in Odoo 18 Time OffCeline George
Allocations in Odoo 18 Time Off allow you to assign a specific amount of time off (leave) to an employee. These allocations can be used to track and manage leave entitlements for employees, such as vacation days, sick leave, etc.
POS Reporting in Odoo 18 - Odoo 18 SlidesCeline George
To view all the available reports in Point of Sale, navigate to Point of Sale > Reporting. In this section, you will find detailed reports such as the Orders Report, Sales Details Report, and Session Report, as shown below.
HOW YOU DOIN'?
Cool, cool, cool...
Because that's what she said after THE QUIZ CLUB OF PSGCAS' TV SHOW quiz.
Grab your popcorn and be seated.
QM: THARUN S A
BCom Accounting and Finance (2023-26)
THE QUIZ CLUB OF PSGCAS.
This presentation has been made keeping in mind the students of undergraduate and postgraduate level. To keep the facts in a natural form and to display the material in more detail, the help of various books, websites and online medium has been taken. Whatever medium the material or facts have been taken from, an attempt has been made by the presenter to give their reference at the end.
In the seventh century, the rule of Sindh state was in the hands of Rai dynasty. We know the names of five kings of this dynasty- Rai Divji, Rai Singhras, Rai Sahasi, Rai Sihras II and Rai Sahasi II. During the time of Rai Sihras II, Nimruz of Persia attacked Sindh and killed him. After the return of the Persians, Rai Sahasi II became the king. After killing him, one of his Brahmin ministers named Chach took over the throne. He married the widow of Rai Sahasi and became the ruler of entire Sindh by suppressing the rebellions of the governors.
This presentation was provided by Jennifer Gibson of Dryad, during the first session of our 2025 NISO training series "Secrets to Changing Behavior in Scholarly Communications." Session One was held June 5, 2025.
Trends Spotting Strategic foresight for tomorrow’s education systems - Debora...EduSkills OECD
Deborah Nusche, Senior Analyst, OECD presents at the OECD webinar 'Trends Spotting: Strategic foresight for tomorrow’s education systems' on 5 June 2025. You can check out the webinar on the website https://oecdedutoday.com/webinars/ Other speakers included: Deborah Nusche, Senior Analyst, OECD
Sophie Howe, Future Governance Adviser at the School of International Futures, first Future Generations Commissioner for Wales (2016-2023)
Davina Marie, Interdisciplinary Lead, Queens College London
Thomas Jørgensen, Director for Policy Coordination and Foresight at European University Association
Forestry Model Exit Exam_2025_Wollega University, Gimbi Campus.pdfChalaKelbessa
This is Forestry Exit Exam Model for 2025 from Department of Forestry at Wollega University, Gimbi Campus.
The exam contains forestry courses such as Dendrology, Forest Seed and Nursery Establishment, Plantation Establishment and Management, Silviculture, Forest Mensuration, Forest Biometry, Agroforestry, Biodiversity Conservation, Forest Business, Forest Fore, Forest Protection, Forest Management, Wood Processing and others that are related to Forestry.
Different pricelists for different shops in odoo Point of Sale in Odoo 17Celine George
Price lists are a useful tool for managing the costs of your goods and services. This can assist you in working with other businesses effectively and maximizing your revenues. Additionally, you can provide your customers discounts by using price lists.
Smart Borrowing: Everything You Need to Know About Short Term Loans in Indiafincrifcontent
Short term loans in India are becoming a go-to financial solution for individuals needing quick access to funds without long-term commitments. With fast approval, minimal documentation, and flexible tenures, these loans are ideal for handling emergencies, unexpected bills, or short-term goals. Understanding key aspects like short term loan features, eligibility, required documentation, and how to apply for a short term loan can help borrowers make informed decisions. Whether you're salaried or self-employed, short term loans offer convenience and speed. This guide walks you through the essentials so you can secure the right loan at the right time.
Strengthened Senior High School - Landas Tool Kit.pptxSteffMusniQuiballo
Landas Tool Kit is a very helpful guide in guiding the Senior High School students on their SHS academic journey. It will pave the way on what curriculum exits will they choose and fit in.
Completed Sunday 6/8. For Weekend 6/14 & 15th. (Fathers Day Weekend US.) These workshops are also timeless for future students TY. No admissions needed.
A 9th FREE WORKSHOP
Reiki - Yoga
“Intuition-II, The Chakras”
Your Attendance is valued.
We hit over 5k views for Spring Workshops and Updates-TY.
Thank you for attending our workshops.
If you are new, do welcome.
Grad Students: I am planning a Reiki-Yoga Master Course (As a package). I’m Fusing both together.
This will include the foundation of each practice. Our Free Workshops can be used with any Reiki Yoga training package. Traditional Reiki does host rules and ethics. Its silent and within the JP Culture/Area/Training/Word of Mouth. It allows remote healing but there’s limits As practitioners and masters, we are not allowed to share certain secrets/tools. Some content is designed only for “Masters”. Some yoga are similar like the Kriya Yoga-Church (Vowed Lessons). We will review both Reiki and Yoga (Master tools) in the Course upcoming.
S9/This Week’s Focus:
* A continuation of Intuition-2 Development. We will review the Chakra System - Our temple. A misguided, misused situation lol. This will also serve Attunement later.
Thx for tuning in. Your time investment is valued. I do select topics related to our timeline and community. For those seeking upgrades or Reiki Levels. Stay tuned for our June packages. It’s for self employed/Practitioners/Coaches…
Review & Topics:
* Reiki Is Japanese Energy Healing used Globally.
* Yoga is over 5k years old from India. It hosts many styles, teacher versions, and it’s Mainstream now vs decades ago.
* Anything of the Holistic, Wellness Department can be fused together. My origins are Alternative, Complementary Medicine. In short, I call this ND. I am also a metaphysician. I learnt during the 90s New Age Era. I forget we just hit another wavy. It’s GenZ word of Mouth, their New Age Era. WHOA, History Repeats lol. We are fusing together.
* So, most of you have experienced your Spiritual Awakening. However; The journey wont be perfect. There will be some roller coaster events. The perks are: We are in a faster Spiritual Zone than the 90s. There’s more support and information available.
(See Presentation for all sections, THX AGAIN.)
Available for Weekend June 6th. Uploaded Wed Evening June 4th.
Topics are unlimited and done weekly. Make sure to catch mini updates as well. TY for being here. More upcoming this summer.
A 8th FREE WORKSHOP
Reiki - Yoga
“Intuition” (Part 1)
For Personal/Professional Inner Tuning in. Also useful for future Reiki Training prerequisites. The Attunement Process. It’s all about turning on your healing skills. See More inside.
Your Attendance is valued.
Any Reiki Masters are Welcomed
More About:
The ‘Attunement’ Process.
It’s all about turning on your healing skills. Skills do vary as well. Usually our skills are Universal. They can serve reiki and any relatable Branches of Wellness.
(Remote is popular.)
Now for Intuition. It’s silent by design. We can train our intuition to be bold or louder. Intuition is instinct and the Senses. Coded in our Workshops too.
Intuition can include Psychic Science, Metaphysics, & Spiritual Practices to aid anything. It takes confidence and faith, in oneself.
Thank you for attending our workshops.
If you are new, do welcome.
Grad Students: I am planning a Reiki-Yoga Master Course. I’m Fusing both together.
This will include the foundation of each practice. Both are challenging independently. The Free Workshops do matter. They can also be downloaded or Re-Read for review.
My Reiki-Yoga Level 1, will be updated Soon/for Summer. The cost will be affordable.
As a Guest Student,
You are now upgraded to Grad Level.
See, LDMMIA Uploads for “Student Checkin”
Again, Do Welcome or Welcome Back.
I would like to focus on the next level. More advanced topics for practical, daily, regular Reiki Practice. This can be both personal or Professional use.
Our Focus will be using our Intuition. It’s good to master our inner voice/wisdom/inner being. Our era is shifting dramatically. As our Astral/Matrix/Lower Realms are crashing; They are out of date vs 5D Life.
We will catch trickster
energies detouring us.
(See Presentation for all sections, THX AGAIN.)
Parenting Teens: Supporting Trust, resilience and independencePooky Knightsmith
For more information about my speaking and training work, visit: https://www.pookyknightsmith.com/speaking/
SESSION OVERVIEW:
Parenting Teens: Supporting Trust, Resilience & Independence
The teenage years bring new challenges—for teens and for you. In this practical session, we’ll explore how to support your teen through emotional ups and downs, growing independence, and the pressures of school and social life.
You’ll gain insights into the teenage brain and why boundary-pushing is part of healthy development, along with tools to keep communication open, build trust, and support emotional resilience. Expect honest ideas, relatable examples, and space to connect with other parents.
By the end of this session, you will:
• Understand how teenage brain development affects behaviour and emotions
• Learn ways to keep communication open and supportive
• Explore tools to help your teen manage stress and bounce back from setbacks
• Reflect on how to encourage independence while staying connected
• Discover simple strategies to support emotional wellbeing
• Share experiences and ideas with other parents
Pests of Rice: Damage, Identification, Life history, and Management.pptxArshad Shaikh
Rice pests can significantly impact crop yield and quality. Major pests include the brown plant hopper (Nilaparvata lugens), which transmits viruses like rice ragged stunt and grassy stunt; the yellow stem borer (Scirpophaga incertulas), whose larvae bore into stems causing deadhearts and whiteheads; and leaf folders (Cnaphalocrocis medinalis), which feed on leaves reducing photosynthetic area. Other pests include rice weevils (Sitophilus oryzae) and gall midges (Orseolia oryzae). Effective management strategies are crucial to minimize losses.
3. Introduction
The main concept of OOPs is to bind the data and
the functions that work on that together as a
single unit so that no other part of the code can
access this data.
Python Class
A class is a collection of objects. A class contains the
blueprints or the prototype from which the objects are being
created.
python
3
4. Class
Syntax of Class:
class ClassName:
# Statement-1
.
# Statement-N
• Classes are created by keyword class.
• Attributes are the variables that belong to a class.
• Attributes are always public and can be accessed using the dot (.) operator.
python
4
Eg: class Dog:
sound = "bark"
…....
5. Object
• The object is an entity that has a state and behavior associated with it.
• It may be any real-world object like a mouse, keyboard, chair, table, pen, etc.
Integers, strings, floating-point numbers, even arrays, and dictionaries, are all
objects.
• More specifically, any single integer or any single string is an object.
• The number 12 is an object, the string “Hello, world” is an object
python
5
6. Object
Object Consists of:
• State
• Behavior
• Identity
Example:
• The identity can be considered as the name of the dog.
• State or Attributes can be considered as the breed, age, or color of the dog.
• The behavior can be considered as to whether the dog is eating or sleeping.
python
6
7. Constructors and Destructors
Constructors
• Used for instantiating an object.
• The task of constructors is to initialize(assign values)
to the data members of the class when an object of
the class is created.
• In Python the __init__() method is called the
constructor and is always called when an object is
created.
Syntax of constructor declaration :
def __init__(self):
# body of the constructor
Types:
Default Parameterized constructor
Destructors
• Destructors are called when an object gets destroyed.
• In Python, destructors are not needed as much as in C++ because
Python has a garbage collector that handles memory management
automatically.
• The __del__() method is a known as a destructor method in Python.
It is called when all references to the object have been deleted i.e
when an object is garbage collected.
Syntax of destructor declaration :
def __del__(self):
# body of destructor
7
9. Inheritance
Inheritance is defined as the mechanism of inheriting
the properties of the base class to the child class
The Parent class is the class which provides features
to another class. The parent class is also known
as Base class or Superclass.
The Child class is the class which receives features
from another class. The child class is also known as
the Derived Class or Subclass.
Python
9
Types of Inheritance
• Single
• Multiple
• Multilevel
• Hierarchical
• Hybrid
11. Multiple Inheritance
• A class can be derived from more than one base class
this type of inheritance is called multiple inheritances.
• In multiple inheritances, all the features of the base
classes are inherited into the derived class.
11
PYTHON
12. Multilevel Inheritance
• In multilevel inheritance, features of the base class
and the derived class are further inherited into the
new derived class.
• This is similar to a relationship representing a
child and a grandfather.
12
PYTHON
13. Hierarchical Inheritance
• When more than one derived class are created from a
single base this type of inheritance is called hierarchical
inheritance.
• In this program, we have a parent (base) class and two or
more child(derived) classes.
13
PYTHON
15. Polymorphism
• Polymorphism simply means having many forms.
• This code demonstrates the concept of inheritance
and method overriding in Python classes.
• It shows how subclasses can override methods
defined in their parent class to provide specific
behavior while still inheriting other methods from
the parent class.
15
PYTHON
16. Encapsulation
• Encapsulation is a mechanism of wrapping the data (variables) and
code acting on the data (methods) together as a single unit.
• Access modifiers in the concept of Encapsulation and data hiding.
• Public: Accessible from inside or outside the class.
• Private: Accessible only inside class. Define a private member by
prefixing the member name with two underscores. Eg: __age
• Protected: Accessible. from inside the class and its sub-class.
Define a protected member by prefixing the member name with an
underscore Eg: _points
16
Access Modifiers
•Public
•Private
•Protected
17. Abstraction
• It hides unnecessary code details from the user.
• Also, when we do not want to give out sensitive
parts of our code implementation and this is where
data abstraction came.
17
Python
18. SUMMARY
Python
• These are various Object Oriented Programming
concepts in Python.
• Online Reference:
W3schools
GeeksforGeeks
18