3. Object Oriented Programming (OOP) is a
programming model where programs are
organized around objects and data rather
than action and logic.
4. Class is a user defined data type, that has
some general identity, state and behaviour.
A class will never occupy any memory space
and hence it is only a logical representation
of data.
In OOP languages it is mandatory to create a
class for representing data.
5. Object is the basic unit of object-oriented
programming.
Object is an instance of class, that has an
identity, state and behaviour.
Each instance of an object can hold its own
relevant data.
6. Abstraction means showing essential features
and hiding non-essential features to the user.
Abstraction means “FRONTEND”.
Abstraction lets us focus on what the object
does instead of how it does it ?
7. Encapsulation = En + capsule +ation
( Everything In a single capsule).
Wrapping up a data member and a method
together into a single unit is called
Encapsulation.
Its hide the data for security such as making
the variables public, private and protected.
8. When a class includes a property of another
class it is known as inheritance.
Inheritance is a process of object reusability.
New methods and attributes can be created in
the new class, but don’t affect the parent
class’s definition
9. Poly means many one form can perform
differently in different scenarios. We will
get different results in different scenarios.
"Many forms of a single object is called
Polymorphism."
Polymorphism mainly happens in runtime
only.
10. 1.Abstraction:- We press the button and
result displays on screen.
2.Encapsulation:- There is number of circuits
available but they all are binded in a single
frame.
3.Inheritence:- Android 10 inherited by Pie.
4.Polymorphism:- Before & after semester
examinations.