We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 3
* CowcrT OF OOP *
+ CLASS
AB class is like a buepzint OF data member and functions
class i a usey- defined vata rype Wnjth holds its ON aata-
Car
Att ribupe ----—-——
Mox speed
Fee
(Fig : class )
Class Student +——_ 1/455 name
Char name ; ms i
int voll no. ; characteristics
l void attend classes ( )
ben
g7ut Kum AR (LINKEDIN).
NOTES GALLERY (TELEGRAM J.
2 OGTEcr
fin objet is a selh — contained component hich consists oF
methods and properties t0 make aatq useful.
E4th Object it an instance oF @ particular class.
CFig : object )
ne CLINIKEDIA)a: Jnuer TANCE.
Inhevitance te @ mechanism where ¢ne sub or Child class inherits
the properties and characteristics of Super class.
class Car +———_ Base class
class Fesia ee eriveo Cigsd.)
class BMW. +——— Dealved class |
C£ig. Inheritance)
4. ENCAPSULATION. 2
Encapsulation is a concept that binds data togepher and
functions that manipulate the data, and phat Keeps both Safe
and outside intevence .
Example caleularor. C1955
Class
data members
op
methoos(behaviour) methods
yaviable
(Fig. encapsutazion )
Zowsasrenvenzm
5. ABSTRACTION :-
A od ae 4
Abstraction if the concept of 00P tnat shows”
only essential attributer and hides
unnecestary information .
Continue ——>Animat
JegtC)
Food ( )
regs)
Food)
6- PolyMoRPHISN :-
1egs() 12gsC)
food ( ) Food )
(Fig. Abstraction) Atul ewmak (Like).
Felymorphism is 4 method 'n an OOP. that performs
different things as per objects CISL, which callg it-
60d