SlideShare a Scribd company logo
OBJECT ORIENTED PROGRAMMING Made By Noshaba
WHAT IS OOP’S?
OOP stands for "Object-Oriented Programming." It's a way of structuring your code in
programming languages like C++,C# , python and java
Objects are self-contained units that combine data (attributes or properties) and the
functions (methods) that can operate on that data into a single entity.
DIFFERENCE BETWEEN PROCEDURAL AND OOP..
Data Organization: Procedural programming uses global variables for data,
whereas OOP encapsulates data within objects.
Code Structure: Procedural code is structured around functions, while OOP code is
organized around objects and their methods.
Data Access: In procedural programming, data is often accessible globally, leading
to potential data conflicts. In OOP, data is encapsulated within objects, making it more
controlled and secure.
Reusability: OOP promotes code reusability through classes and inheritance, making
it easier to create and reuse similar objects.
In summary, the key difference lies in how data is organized and accessed:
procedural programming uses global data and functions, while OOP encapsulates
data and behavior within objects, providing better structure and control
WHY WE NEED FOR OOP?
We need Object-Oriented Programming (OOP) in simple terms because it helps us
build software more efficiently and make it easier to understand and manage.
Certainly, let's simplify the need for Object-Oriented Programming (OOP) even
further:
Think of OOP as a way to make computer programs more organized and
understandable, just like how we use folders to organize our files on a computer.
Objects as Folders: In OOP, we treat different parts of our program as "objects,"
which are like folders. Each object contains its own stuff, like data and actions, just like
folders can contain files.
Reuse and Efficiency: OOP allows us to reuse these objects in different parts of our program,
similar to how we can use the same folder in various places on our computer. This makes our code
more efficient and saves us from doing the same work over and over.
Clean and Clear: Just as folders help us keep our files organized and easy to find, OOP helps us
keep our code organized and easy to understand. We can see what each object does and how it
relates to other objects.
Flexibility: If we want to change or add something in one part of our program, we can do it
without affecting other parts. It's like rearranging or adding files in one folder without disturbing
the contents of other folders.
So, OOP is like using folders to keep our computer files organized. It helps us reuse code, keep
our code clean and understandable, make changes easily, and collaborate effectively when
building software.
TECHNIQUE IN OOP
Class:
A class is like a blueprint or a template.
It tells the computer how to create something.
For example, a "Car" class is like a blueprint for making cars. It defines what a car should have
(like wheels and a color) and what it can do (like drive and stop).
public class Car
{
public string name;
public string model;
public void Greet()
{
Console.WriteLine("Hello, my car name is " + name);
}
}
OBJECT:
An object is a real thing that was created using a class.
It's like the actual car made from the "Car" blueprint.
Each object can have its own unique characteristics and can do things based on what
the class defined.
In even simpler terms, a class is a plan, and an object is something made from that
plan. For example, a "Recipe" (class) tells you how to make a cake, and the actual
"Cake" (object) is what you bake using that recipe
Encapsulation: This is like putting a protective shield around an object's data (attributes)
and methods. It keeps them safe from unwanted changes or access. You can only interact
with an object through its defined methods, which maintain control and security.
Inheritance: Inheritance is like passing down traits from parents to children. In OOP, you can
create new classes based on existing ones. The new class inherits attributes and methods
from the original class, making it easier to reuse code and build on existing functionality.
Abstraction:
Abstraction in Object-Oriented Programming (OOP) is a fundamental concept that focuses
on hiding unnecessary details and showing only the essential features of an object. It's like
creating a simplified interface for users to interact with, without needing to understand the
complex inner workings.
In simple terms, OOP is like playing with different types of toys (objects) that have their
own unique features (attributes) and things they can do (methods). These toys are created
based on specific blueprints (classes). Encapsulation keeps them safe and organized,
inheritance lets you create new toys with shared features, and polymorphism allows you to
use all your toys in a playful and flexible way.

More Related Content

Similar to Object oriented programming (oops) python (20)

Characteristics-and-Advantages-of-Object-Oriented-Programming.pptx
Characteristics-and-Advantages-of-Object-Oriented-Programming.pptxCharacteristics-and-Advantages-of-Object-Oriented-Programming.pptx
Characteristics-and-Advantages-of-Object-Oriented-Programming.pptx
mahendrasubedi2060
 
CPP-Unit 1.pptx
CPP-Unit 1.pptxCPP-Unit 1.pptx
CPP-Unit 1.pptx
YashKoli22
 
Object Oriented Program Class 12 Computer Science
Object Oriented Program Class 12 Computer ScienceObject Oriented Program Class 12 Computer Science
Object Oriented Program Class 12 Computer Science
ShailendraPandey96
 
introduction of Object oriented programming
introduction of Object oriented programmingintroduction of Object oriented programming
introduction of Object oriented programming
RiturajJain8
 
L1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdfL1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdf
BhanuJatinSingh
 
Introduction to Object Oriented Programming.pdf
Introduction to Object Oriented Programming.pdfIntroduction to Object Oriented Programming.pdf
Introduction to Object Oriented Programming.pdf
ManishBej3
 
Computer_Programming_Part_II_Segment_01.pdf
Computer_Programming_Part_II_Segment_01.pdfComputer_Programming_Part_II_Segment_01.pdf
Computer_Programming_Part_II_Segment_01.pdf
et243047
 
object oriented programming concepts and explanation
object oriented programming concepts and explanationobject oriented programming concepts and explanation
object oriented programming concepts and explanation
SATYA136395
 
Object-Oriented Programming in Real world Applications
Object-Oriented Programming in Real world ApplicationsObject-Oriented Programming in Real world Applications
Object-Oriented Programming in Real world Applications
MehmoodHasnain
 
object oriented programing lecture 1
object oriented programing lecture 1object oriented programing lecture 1
object oriented programing lecture 1
Geophery sanga
 
Ch 1 Introduction to Object Oriented Programming.pptx
Ch 1 Introduction to Object Oriented Programming.pptxCh 1 Introduction to Object Oriented Programming.pptx
Ch 1 Introduction to Object Oriented Programming.pptx
MahiDivya
 
Oops concepts
Oops conceptsOops concepts
Oops concepts
Kanan Gandhi
 
oop.pptx
oop.pptxoop.pptx
oop.pptx
KabitaParajuli3
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
sana younas
 
Object Oriented Programming.pptx its a opps concept in c++ which is helpful
Object Oriented Programming.pptx its a opps concept in c++ which is helpfulObject Oriented Programming.pptx its a opps concept in c++ which is helpful
Object Oriented Programming.pptx its a opps concept in c++ which is helpful
vidhimangal05
 
Object Oriented Programming using c++ main four piller in this
Object Oriented Programming using c++ main four piller in thisObject Oriented Programming using c++ main four piller in this
Object Oriented Programming using c++ main four piller in this
vidhimangal05
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
baabtra.com - No. 1 supplier of quality freshers
 
What is OOP_ (Object Oriented Programming) (1).pptx
What is OOP_ (Object Oriented Programming) (1).pptxWhat is OOP_ (Object Oriented Programming) (1).pptx
What is OOP_ (Object Oriented Programming) (1).pptx
hreempandya
 
Oops slide
Oops slide Oops slide
Oops slide
Ashok Sharma
 
Chapter 04 object oriented programming
Chapter 04 object oriented programmingChapter 04 object oriented programming
Chapter 04 object oriented programming
Praveen M Jigajinni
 
Characteristics-and-Advantages-of-Object-Oriented-Programming.pptx
Characteristics-and-Advantages-of-Object-Oriented-Programming.pptxCharacteristics-and-Advantages-of-Object-Oriented-Programming.pptx
Characteristics-and-Advantages-of-Object-Oriented-Programming.pptx
mahendrasubedi2060
 
CPP-Unit 1.pptx
CPP-Unit 1.pptxCPP-Unit 1.pptx
CPP-Unit 1.pptx
YashKoli22
 
Object Oriented Program Class 12 Computer Science
Object Oriented Program Class 12 Computer ScienceObject Oriented Program Class 12 Computer Science
Object Oriented Program Class 12 Computer Science
ShailendraPandey96
 
introduction of Object oriented programming
introduction of Object oriented programmingintroduction of Object oriented programming
introduction of Object oriented programming
RiturajJain8
 
L1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdfL1-Introduction to OOPs concepts.pdf
L1-Introduction to OOPs concepts.pdf
BhanuJatinSingh
 
Introduction to Object Oriented Programming.pdf
Introduction to Object Oriented Programming.pdfIntroduction to Object Oriented Programming.pdf
Introduction to Object Oriented Programming.pdf
ManishBej3
 
Computer_Programming_Part_II_Segment_01.pdf
Computer_Programming_Part_II_Segment_01.pdfComputer_Programming_Part_II_Segment_01.pdf
Computer_Programming_Part_II_Segment_01.pdf
et243047
 
object oriented programming concepts and explanation
object oriented programming concepts and explanationobject oriented programming concepts and explanation
object oriented programming concepts and explanation
SATYA136395
 
Object-Oriented Programming in Real world Applications
Object-Oriented Programming in Real world ApplicationsObject-Oriented Programming in Real world Applications
Object-Oriented Programming in Real world Applications
MehmoodHasnain
 
object oriented programing lecture 1
object oriented programing lecture 1object oriented programing lecture 1
object oriented programing lecture 1
Geophery sanga
 
Ch 1 Introduction to Object Oriented Programming.pptx
Ch 1 Introduction to Object Oriented Programming.pptxCh 1 Introduction to Object Oriented Programming.pptx
Ch 1 Introduction to Object Oriented Programming.pptx
MahiDivya
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
sana younas
 
Object Oriented Programming.pptx its a opps concept in c++ which is helpful
Object Oriented Programming.pptx its a opps concept in c++ which is helpfulObject Oriented Programming.pptx its a opps concept in c++ which is helpful
Object Oriented Programming.pptx its a opps concept in c++ which is helpful
vidhimangal05
 
Object Oriented Programming using c++ main four piller in this
Object Oriented Programming using c++ main four piller in thisObject Oriented Programming using c++ main four piller in this
Object Oriented Programming using c++ main four piller in this
vidhimangal05
 
What is OOP_ (Object Oriented Programming) (1).pptx
What is OOP_ (Object Oriented Programming) (1).pptxWhat is OOP_ (Object Oriented Programming) (1).pptx
What is OOP_ (Object Oriented Programming) (1).pptx
hreempandya
 
Chapter 04 object oriented programming
Chapter 04 object oriented programmingChapter 04 object oriented programming
Chapter 04 object oriented programming
Praveen M Jigajinni
 

Recently uploaded (20)

Computer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdfComputer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdf
kumarprem6767merp
 
chemistry investigatory project for class 12
chemistry investigatory project for class 12chemistry investigatory project for class 12
chemistry investigatory project for class 12
Susis10
 
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptxDevelopment of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
aniket862935
 
operationg systemsdocumentmemorymanagement
operationg systemsdocumentmemorymanagementoperationg systemsdocumentmemorymanagement
operationg systemsdocumentmemorymanagement
SNIGDHAAPPANABHOTLA
 
Structure of OS ppt Structure of OsS ppt
Structure of OS ppt Structure of OsS pptStructure of OS ppt Structure of OsS ppt
Structure of OS ppt Structure of OsS ppt
Wahajch
 
Impurities of Water and their Significance.pptx
Impurities of Water and their Significance.pptxImpurities of Water and their Significance.pptx
Impurities of Water and their Significance.pptx
dhanashree78
 
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODSWIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
samueljackson3773
 
Universal Human Values and professional ethics Quantum AKTU BVE401
Universal Human Values and professional ethics Quantum AKTU BVE401Universal Human Values and professional ethics Quantum AKTU BVE401
Universal Human Values and professional ethics Quantum AKTU BVE401
Unknown
 
11th International Conference on Data Mining (DaMi 2025)
11th International Conference on Data Mining (DaMi 2025)11th International Conference on Data Mining (DaMi 2025)
11th International Conference on Data Mining (DaMi 2025)
kjim477n
 
Pavement and its types, Application of rigid and Flexible Pavements
Pavement and its types, Application of rigid and Flexible PavementsPavement and its types, Application of rigid and Flexible Pavements
Pavement and its types, Application of rigid and Flexible Pavements
Sakthivel M
 
SEW make Brake BE05 – BE30 Brake – Repair Kit
SEW make Brake BE05 – BE30 Brake – Repair KitSEW make Brake BE05 – BE30 Brake – Repair Kit
SEW make Brake BE05 – BE30 Brake – Repair Kit
projectultramechanix
 
May 2025: Top 10 Read Articles Advanced Information Technology
May 2025: Top 10 Read Articles Advanced Information TechnologyMay 2025: Top 10 Read Articles Advanced Information Technology
May 2025: Top 10 Read Articles Advanced Information Technology
ijait
 
Irja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus - Beyond Pass and Fail - DevTalks.pdfIrja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus
 
Airport_Substation_With_Diagrams (2).pptx
Airport_Substation_With_Diagrams (2).pptxAirport_Substation_With_Diagrams (2).pptx
Airport_Substation_With_Diagrams (2).pptx
BibekMedhi2
 
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Rigor, ethics, wellbeing and resilience in the ICT doctoral journeyRigor, ethics, wellbeing and resilience in the ICT doctoral journey
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Yannis
 
IOt Based Research on Challenges and Future
IOt Based Research on Challenges and FutureIOt Based Research on Challenges and Future
IOt Based Research on Challenges and Future
SACHINSAHU821405
 
How Binning Affects LED Performance & Consistency.pdf
How Binning Affects LED Performance & Consistency.pdfHow Binning Affects LED Performance & Consistency.pdf
How Binning Affects LED Performance & Consistency.pdf
Mina Anis
 
Introduction to AI agent development with MCP
Introduction to AI agent development with MCPIntroduction to AI agent development with MCP
Introduction to AI agent development with MCP
Dori Waldman
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
djiceramil
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
djiceramil
 
Computer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdfComputer_vision-photometric_image_formation.pdf
Computer_vision-photometric_image_formation.pdf
kumarprem6767merp
 
chemistry investigatory project for class 12
chemistry investigatory project for class 12chemistry investigatory project for class 12
chemistry investigatory project for class 12
Susis10
 
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptxDevelopment of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
Development of Portable Biomass Briquetting Machine (S, A & D)-1.pptx
aniket862935
 
operationg systemsdocumentmemorymanagement
operationg systemsdocumentmemorymanagementoperationg systemsdocumentmemorymanagement
operationg systemsdocumentmemorymanagement
SNIGDHAAPPANABHOTLA
 
Structure of OS ppt Structure of OsS ppt
Structure of OS ppt Structure of OsS pptStructure of OS ppt Structure of OsS ppt
Structure of OS ppt Structure of OsS ppt
Wahajch
 
Impurities of Water and their Significance.pptx
Impurities of Water and their Significance.pptxImpurities of Water and their Significance.pptx
Impurities of Water and their Significance.pptx
dhanashree78
 
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODSWIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
WIRELESS COMMUNICATION SECURITY AND IT’S PROTECTION METHODS
samueljackson3773
 
Universal Human Values and professional ethics Quantum AKTU BVE401
Universal Human Values and professional ethics Quantum AKTU BVE401Universal Human Values and professional ethics Quantum AKTU BVE401
Universal Human Values and professional ethics Quantum AKTU BVE401
Unknown
 
11th International Conference on Data Mining (DaMi 2025)
11th International Conference on Data Mining (DaMi 2025)11th International Conference on Data Mining (DaMi 2025)
11th International Conference on Data Mining (DaMi 2025)
kjim477n
 
Pavement and its types, Application of rigid and Flexible Pavements
Pavement and its types, Application of rigid and Flexible PavementsPavement and its types, Application of rigid and Flexible Pavements
Pavement and its types, Application of rigid and Flexible Pavements
Sakthivel M
 
SEW make Brake BE05 – BE30 Brake – Repair Kit
SEW make Brake BE05 – BE30 Brake – Repair KitSEW make Brake BE05 – BE30 Brake – Repair Kit
SEW make Brake BE05 – BE30 Brake – Repair Kit
projectultramechanix
 
May 2025: Top 10 Read Articles Advanced Information Technology
May 2025: Top 10 Read Articles Advanced Information TechnologyMay 2025: Top 10 Read Articles Advanced Information Technology
May 2025: Top 10 Read Articles Advanced Information Technology
ijait
 
Irja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus - Beyond Pass and Fail - DevTalks.pdfIrja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus - Beyond Pass and Fail - DevTalks.pdf
Irja Straus
 
Airport_Substation_With_Diagrams (2).pptx
Airport_Substation_With_Diagrams (2).pptxAirport_Substation_With_Diagrams (2).pptx
Airport_Substation_With_Diagrams (2).pptx
BibekMedhi2
 
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Rigor, ethics, wellbeing and resilience in the ICT doctoral journeyRigor, ethics, wellbeing and resilience in the ICT doctoral journey
Rigor, ethics, wellbeing and resilience in the ICT doctoral journey
Yannis
 
IOt Based Research on Challenges and Future
IOt Based Research on Challenges and FutureIOt Based Research on Challenges and Future
IOt Based Research on Challenges and Future
SACHINSAHU821405
 
How Binning Affects LED Performance & Consistency.pdf
How Binning Affects LED Performance & Consistency.pdfHow Binning Affects LED Performance & Consistency.pdf
How Binning Affects LED Performance & Consistency.pdf
Mina Anis
 
Introduction to AI agent development with MCP
Introduction to AI agent development with MCPIntroduction to AI agent development with MCP
Introduction to AI agent development with MCP
Dori Waldman
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
362 Alec Data Center Solutions-Slysium Data Center-AUH-ABB Furse.pdf
djiceramil
 
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
362 Alec Data Center Solutions-Slysium Data Center-AUH-Glands & Lugs, Simplex...
djiceramil
 
Ad

Object oriented programming (oops) python

  • 1. OBJECT ORIENTED PROGRAMMING Made By Noshaba
  • 2. WHAT IS OOP’S? OOP stands for "Object-Oriented Programming." It's a way of structuring your code in programming languages like C++,C# , python and java Objects are self-contained units that combine data (attributes or properties) and the functions (methods) that can operate on that data into a single entity.
  • 3. DIFFERENCE BETWEEN PROCEDURAL AND OOP.. Data Organization: Procedural programming uses global variables for data, whereas OOP encapsulates data within objects. Code Structure: Procedural code is structured around functions, while OOP code is organized around objects and their methods. Data Access: In procedural programming, data is often accessible globally, leading to potential data conflicts. In OOP, data is encapsulated within objects, making it more controlled and secure. Reusability: OOP promotes code reusability through classes and inheritance, making it easier to create and reuse similar objects. In summary, the key difference lies in how data is organized and accessed: procedural programming uses global data and functions, while OOP encapsulates data and behavior within objects, providing better structure and control
  • 4. WHY WE NEED FOR OOP? We need Object-Oriented Programming (OOP) in simple terms because it helps us build software more efficiently and make it easier to understand and manage. Certainly, let's simplify the need for Object-Oriented Programming (OOP) even further: Think of OOP as a way to make computer programs more organized and understandable, just like how we use folders to organize our files on a computer. Objects as Folders: In OOP, we treat different parts of our program as "objects," which are like folders. Each object contains its own stuff, like data and actions, just like folders can contain files.
  • 5. Reuse and Efficiency: OOP allows us to reuse these objects in different parts of our program, similar to how we can use the same folder in various places on our computer. This makes our code more efficient and saves us from doing the same work over and over. Clean and Clear: Just as folders help us keep our files organized and easy to find, OOP helps us keep our code organized and easy to understand. We can see what each object does and how it relates to other objects. Flexibility: If we want to change or add something in one part of our program, we can do it without affecting other parts. It's like rearranging or adding files in one folder without disturbing the contents of other folders. So, OOP is like using folders to keep our computer files organized. It helps us reuse code, keep our code clean and understandable, make changes easily, and collaborate effectively when building software.
  • 6. TECHNIQUE IN OOP Class: A class is like a blueprint or a template. It tells the computer how to create something. For example, a "Car" class is like a blueprint for making cars. It defines what a car should have (like wheels and a color) and what it can do (like drive and stop). public class Car { public string name; public string model; public void Greet() { Console.WriteLine("Hello, my car name is " + name); } }
  • 7. OBJECT: An object is a real thing that was created using a class. It's like the actual car made from the "Car" blueprint. Each object can have its own unique characteristics and can do things based on what the class defined. In even simpler terms, a class is a plan, and an object is something made from that plan. For example, a "Recipe" (class) tells you how to make a cake, and the actual "Cake" (object) is what you bake using that recipe
  • 8. Encapsulation: This is like putting a protective shield around an object's data (attributes) and methods. It keeps them safe from unwanted changes or access. You can only interact with an object through its defined methods, which maintain control and security. Inheritance: Inheritance is like passing down traits from parents to children. In OOP, you can create new classes based on existing ones. The new class inherits attributes and methods from the original class, making it easier to reuse code and build on existing functionality. Abstraction: Abstraction in Object-Oriented Programming (OOP) is a fundamental concept that focuses on hiding unnecessary details and showing only the essential features of an object. It's like creating a simplified interface for users to interact with, without needing to understand the complex inner workings. In simple terms, OOP is like playing with different types of toys (objects) that have their own unique features (attributes) and things they can do (methods). These toys are created based on specific blueprints (classes). Encapsulation keeps them safe and organized, inheritance lets you create new toys with shared features, and polymorphism allows you to use all your toys in a playful and flexible way.