0 votes
9 views

What is Composite pattern?

in Education by (49.4k points)

1 Answer

0 votes

What is Composite pattern?

Composite pattern is used where we need to treat a group of objects in similar way as a single object. Composite pattern composes objects in term of a tree structure to represent part as well as whole hierarchy. This type of design pattern comes under structural pattern as this pattern creates a tree structure of group of objects.

This pattern creates a class that contains group of its own objects. This class provides ways to modify its group of same objects.

by (49.4k points)

Related questions

0 votes
1 answer 27 views
0 votes
1 answer 12 views
0 votes
1 answer 12 views
0 votes
1 answer 12 views
0 votes
1 answer 10 views
0 votes
1 answer 12 views
0 votes
1 answer 11 views
0 votes
1 answer 12 views
12 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 12 views
12 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 12 views
12 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 11 views
11 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 11 views
11 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 8 views
8 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 10 views
10 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 10 views
10 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 9 views
9 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 10 views
0 votes
1 answer 10 views
10 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 8 views
8 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 13 views
13 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 11 views
11 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
0 votes
1 answer 17 views
17 views asked Nov 7, 2020 in Education by Editorial Staff (49.4k points)
...