Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class Restaurant
- {
- /**
- * Creating method that provides name of resturant when called
- */
- public void Name()
- {
- }
- /**Abstract Methods
- *
- * Total Price charged
- * Menu items which can be provided in a resturant
- * location of a resturant
- */
- public abstract void totalPrice();
- public abstract void menuItems();
- public abstract void nameLocation();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement