including authentication and authorization. (2 points)
Part 3: Design pattern identification and analysis (2 points) -
Given the following pseudocode:
interface Dish (
}
String getDescription();
double getCost ();
class BasicDish implements Dish (
}
public String getDescription () { return "Basic Dish"; }
public double getCost () { return 5.0; }
abstract class DishDecorator implements Dish (
protected Dish decoratedDish;
public DishDecorator (Dish dish) (
this.decorated Dish dish;
Zoom
- FUO
+ 100%
Close