package Server;
import Master.*;
import Eatables.*;
interface OrderServer
{
public String giveMenu();
public Object orderItem(String[] Food) throws Exception;
}
public class Server implements OrderServer
{
public String giveMenu()
{
String menu="S.no.\t\t Food\t\t Rate(Rs.)\n_____________________________________________________\n1)\t\t Idly\t\t 6.00\n2)\t\t Dosa\t\t 20.00\n3)\t\t Ghee\t\t 30.00\n";
return menu;
}
public Foods[] orderItem(String[] Food) throws Exception
{
Master m=new Master();
Foods[] f=m.readyFood(Food);
return f;
}
}