Tag: compositepattern

  • How to implement Composite pattern in Java?

    Let’s say you are the manager of a project. You have been asked to calculate the total cost to your company of your entire team. You have a service development team with two members. You have a UI development team with two members. You have a Quality Assurance team with two members. You have a…