Create a new class called Soda Solution

Topsolutions
 (Not rated)
 (Not rated)
Chat

Create a new class called Soda that is also a caffeinated beverage by default it will have no option for condiments. Have it called in main. Main also calls the old addLemon function on Tea so that the customer gets two lemons. Use an adapter to support this.


    • 11 years ago
    Complete A++ Solution
    NOT RATED

    Purchase the answer to view it

    • caffeinebeverage_answer.zip