forked from Daoud-Hussain/University-Management-System
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCafe.java
18 lines (15 loc) · 830 Bytes
/
Cafe.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import java.util.*;
public class Cafe{
static Scanner input = new Scanner(System.in);
public static void manage(String regNumber) throws Exception{
int amount =5000;
Displaymenu menuObj = new Displaymenu();//create obj to call method from class Display menu
menuObj.displayMenu(); //Method which is being called.
System.out.println("\n");
SelectionMethod selectObj = new SelectionMethod();//Create an object for class SelectionMethod
selectObj.chooseMethod(regNumber);//Called chooseMethod from class SelectionMethod
System.out.println();
// MyFinalBill billobj = new MyFinalBill();//Create an Object for Class MyFinalBills
// int returnedValue= billobj.finalBill(regNumber,amount);//Called finalBill Method into the returned value..and Parameter are passed such as registration number and Amount.
}
}