daily pastebin goal
28%
SHARE
TWEET

Untitled

dessislava_nik Aug 18th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package Starbucks;
  2.  
  3. class Espresso implements Food {
  4.  
  5.     @Override
  6.         public double getPrice() {
  7.             double price = 1.50;
  8.             return price;
  9.         }
  10.         @Override
  11.         public double getCalories() {
  12.             double calories = 25;
  13.             return calories;
  14.         }
  15.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top