Unit 1 oosd
Unit 1 oosd
’ppartn coeumtalon
’
tt Chasaceuties
ncapsufation Classu Obyect uth tach
.hhetence (obj can comm. method
. Polymorphism othuu rocon bls thn)
"-Abshraction
Modulri
Once &wsed muHiple 4ime
bohaotors.
objeet he dolins the propuha &
Class
F dos no mano"
Class cla8sAJnme classhlame
ot. : value
melhods
class Circle
publie :
gtCinde (onst potot 6)3
vold sdRadtus
(doutle); Cirele
uod const; rad i double
double Area () cuntey: point
privati :
double od gtCurteu(potot)
pofrt cernter; AtRodus Cdouble
-Aeac double
Obyect
Reprwrnt tnstance dous
byec has th gioen mo me
cond^ -that ob t mleuat to mod.
State !- paultalay do tht con
Behoutor -
eby
knows t a pautaley memert
execude.
Storte
can
TahutenCe
Hfererchy
class A MuHilwd
Hybrid class A
Mutple cass A
class A class& class C
class B class A class B
class &
class &
c lass C
Eneapsulaton -Absotion
problm at tomplumestalon ’ Sotoe problum ot dutn lu
- Soloe
Iwl.
dta to Htde unwanted dota &
Hide -he code å show rluwat dota
proteet data rorm oudside
uborld,
Hrde oteunol detotl
doe tnstod houo
mehantcs houw it does.
does soethin
oLAin layout
foney
mobile rplemuntalton dtil
phon
phont
vatiables
-’ contato ptuatt
pabl'c qtthy sty
method.
hous mssa
obj messopecbj
mesage
obj:
Yolymorphtsm to be trete
alo
class
base class.
COMmon
behauto knoun at
comptle tme.
’ achieved
achteucd through virtual
qunton ouddtn
opuietor
to mpruent
tt Model alor to
snde behauior 4 ieactos.
lcnye
Iwed Ho unduutand
Use to documnt, destj
communfcat.
to
-that
KeyComponenst
block o UML Mod
uM such as classes
J. Ctemets - butldng
eomp
elemet irteuact
. Ralalionship :
- hou
model
3.
& communication
Viaualtstog
Consucng
tt
ofu
bhasor fstsdetion
code
t
doe
UML modo!
Do1mniog the
bohostor ond den
dosms hasdne
Renl wonld
Undkuslona'e smaghne
bhaulor
3. Budteton atroe
procas
Modlcotyaneeptek process
Compone
-Arnolato
Bohautoral
Ralalionship
Thing
Block Buflding
Mechaniar Common 3.
UML.
BlockBurldig nnect-
connect to Rule J.
Block UML J.
dernets mejer 3
conapt deined !-MadelConceptuah
made modl
Modet Concaphua
UML
document
aa usorking
ay
comp
wsuelize ship lation buhator stuctusie, Viaualizig
vistualize
Goa
8httial TRhg ont otate paut the sytem.
proue
elass hame
ctibut
behautor
eucwice Ja.
Tranoe - cleclton opurolton that
<etnlonlace
className
behator
Visuolize
obj
Name
be
t Use Case end
Visualize
class Name
opelfon
Componernt- Modulou past
omponunt
Name
phystea!
uwktch phystea
mpruunt
t Node I- prut ystem un. avh. munine
Visualize
Sewe
Nome
Behautora! Thtng
UML.
Dynami pot
behauior ouu
space me.
. Gtate Machine
1.Tateuaouon Delhe csonk<tow
Suquence states an
procil
sef
ochonged 'ao
acomlth apaci uponse to ewent.
steps"
ppose. no. otho clements
opeioname, name indico
wet pupase
aetutes tep
name o
-the
F divde the to undoutand
about the
t -Annetetonal "Thog urd to
the strutiue & behavtor unnt.
Usdto clauty
cOe
thout
ofo.
"Note tut bosed annotodon , hteh proutde addtltona
about modl.
Used
Co Mmet
to ie or Connect aloted hBng in UML
Rdolionahip - used
.Associaton
change in ne Jemert Deeibe st "ahole
(tndtdut onu) con Roks. 'has a' .
othey element tnk a conneeten paut can ert
(dpndunt on) ndepundonilly utot.
----- O...1
Team fPlagex
can exist hout a
Playe
tenm.
Reattation connot evol
Compostion - peot
cuhok.
boild on class intet. hdpindrsty
-olion Dne days tmpan House Roo
child(pauent)
chate stucui) --D
[class
crele shape
child
hmunt mdeed
tol Grophtead prauntolton
connectrd
Stote
Use Cast
Dyploymust "Class
Collaborotion "Componunt
OML Dagram
slatte apect
comporwnt, attrbit , l.
tonikdyne
transl'on.
tnluost'en'6 sate
Scenorio
behaue fn
Atme hd-pndont
tndep
how wll
t Name
t Common Mechanis n UML
Poundoion dement hat ae chaved
or eonstralo.
all domain
to creade buslding block rom
one but hat aue
allow Ho crali
spautiation.
aloo to all ne ule on
t Constrait -
UML Amehietae
oadsed
cayoriud, ond ud
how UML
Perlormanct
Selatty
Delveyy
" Installaon
tt conol
that Oe UÀeo to
cla to
ekeute.
Obet Orieted og
Bocedudrqramning
Top Ooon Aperoach. " Bottom up tpp
Acess
Can be adde
. Conno add
morre
Tnportanea o Modattn
stmucauye & behauiot
" Help to
to vtsualize the syetem
-to constut a
proutde gude
help to undostarnd compe aatem.
documert the dects ton hat you made
dectson
’ visualize
’ conshut
’ doeument
icdple UML Mode lling
împortant
J.The cheice mod sol u shaped
hod problem u cttacleed & houw
leut o preision
t
J. Euny modil my be erpmued
4. No modl