Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Starbucks;
- class Espresso implements Food {
- @Override
- public double getPrice() {
- double price = 1.50;
- return price;
- }
- @Override
- public double getCalories() {
- double calories = 25;
- return calories;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement