Course Solutions Uncategorized (Solved) : Java Decorator Pattern Winter Holidays Know Organized Individual Plan Next Year S Holiday Q26322852 . . . .

(Solved) : Java Decorator Pattern Winter Holidays Know Organized Individual Plan Next Year S Holiday Q26322852 . . . .

 

[Java] [Decorator Pattern]

The winter holidays will be here (again) before you know it!Being the organized individual you are, you have a plan for nextyear’s holiday tree. Implement a software system (fromincomplete code) that allows you to calculate the price of any treeplus any combination of decorations. The system must beeasily extendable in the sense that whenever new decorations areadded in the store you will have to at most add one class.

incomplete code:drive.google.com/drive/folders/1nyAbRB5TRD6BTWyWd_7B5R_rsW71ismw

Here are two tables representing costs of trees anddecorations

Costs of treesNameCostFraser Fir12Douglas Fir15Balsam Fir5Colorado Blue Spruce20Costs of decorationsNameCostStar4Ruffles1Balls Red1Balls Silver3Balls Blue2Ribbons2Lights5LEDs10

A very important requirement is that a tree can

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post