SE 350: worksheet #3-Composite Pattern O What problem does the composite pattern address? MagicItems AT WizardBag…

SE 350: worksheet #3-Composite Pattern O What problem does the composite pattern address? MagicItems AT WizardBag WizardItems Fill in key data structures and key operations in the composite structure shown above. Assume that the Wizard has several wizard bags which he can put inside each other. Bags can contain other bags or items. He can make the entire contents of a bag or a single item disappear by saying the words: Evanesco Ocsenave. ç›®write Java code for the disappear method in Wizard Items: 0 Write java code for the disappear method in Wizard Bag: