You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each flavour adds some quantity of sugar to the recipe. That makes difference in the cake recipe, but not in the ice cream. So in the implementation of the abstract method `getSugar` for the cake, it must subtract the quantity of the sugar that comes from the flavor, and the ice cream just returns the base quantity.
0 commit comments