By arpitmandliya
via javapostsforlearning.blogspot.in
Published: Feb 06 2013 / 11:54
Composite design patten allows you to have a tree structure and ask each node in the tree structure to perform a task.You can take real life example of a organization.It have general managers and under general managers, there can be managers and under managers there can be developers.Now you can set a tree structure and ask each node to perform common operation like getSalary()
Add your comment
Voters For This Link (13)
-
arpitmandliya -
smnsingh -
mswatcher -
arcick1212 -
dzoneyl -
javaposts -
lehel -
berus97 -
umair.aslam -
marks8219 -
gubbes -
aclarke -
narenMan