Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1.  
  2. public abstract class Restaurant
  3. {
  4. /**
  5. * Creating method that provides name of resturant when called
  6. */
  7. public void Name()
  8. {
  9. }
  10. /**Abstract Methods
  11. *
  12. * Total Price charged
  13. * Menu items which can be provided in a resturant
  14. * location of a resturant
  15. */
  16. public abstract void totalPrice();
  17. public abstract void menuItems();
  18. public abstract void nameLocation();
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement