Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1.  
  2. /**
  3. * Abstract class Resturant
  4. *
  5. * @author Kamal Poudel
  6. * @version 1.01
  7. */
  8. public abstract class Restaurant
  9. {
  10. /**
  11. * Initiating method that provides name of resturant when called
  12. */
  13. public void Name()
  14. {
  15. }
  16. /**Abstract Methods
  17. *
  18. * Total Price including 6% tax
  19. * Menu items which can be served in a resturant
  20. * location of a resturant
  21. */
  22. public abstract void totalPrice();
  23. public abstract void menuItems();
  24. public abstract void nameLocation();
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement