Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Abstract class Resturant
- *
- * @author Kamal Poudel
- * @version 1.01
- */
- public abstract class Restaurant
- {
- /**
- * Initiating method that provides name of resturant when called
- */
- public void Name()
- {
- }
- /**Abstract Methods
- *
- * Total Price including 6% tax
- * Menu items which can be served 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