Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Need the program urgent very urgent please follow the standard in the program
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Raghavendra Aditya T
Need the program urgent very urgent please follow the standard in the program
0 Answer(s)      3 years and 7 months ago
Posted in : Java Beginners


Restaurant Order Management System (ROMS)

Problem Case: Create a ROMS system, which is intended to take an order from the customer and charge a bill to the customer.

Creating an Order for the customer

  • Create an Order class that contains the Menu object‚??s in appropriate Collection for storing the Menu. Menu can contain details such as Name, Price etc

PaymentInterface is an Interface; classes PaymentByCash,PaymentByCard and PaymentBySodexo implement this Interface.

PaymentByCash ‚?? It will charge a VAT of 5% on the total bill

PaymentByCard ‚?? It will charge a VAT of 5% plus an extra 2% on the total bill

PaymentBySodexo ‚?? It will charge a VAT of 8% plus an extra 2.5% on the total bill

Cashier class

In the constructor, populate an instance member of type HashMap containing Payment type as the key and Cashier name (of your choice) as the value.

Write a getCashier method that accepts the payment type and returns the cashier name.

Main Class 1. Create a class ROMS (the base class) and order for 10 menu items of your choice. Invoke a method from PaymentInterface to calculate the bill amount by passing the Order object and Payment type (card, cash or sodexo coupons).

  1. Display the total bill amount to the user and the bill date in mm/dd/yyyy format.

  2. Invoke the getCashier of the Cashier class by passing the Payment Type and display the cashier name.

  3. Write the total bill amount, the cashier name and the bill date on the console.

  4. Note the all inheritance methodology should be followed.


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Need the program urgent veryyyyyyyyyyyyy urgent plsssssssssssssssssss follow the standard in the program
Need the program urgent very urgent please follow the standard in the program  Restaurant Order Management System (ROMS) Problem Case: Create a ROMS system, which is intended to take an order from the customer and charge
Program Very Urgent.. - JSP-Servlet
Program Very Urgent..  Respected Sir/Madam, I am R.Ragavendran....]=white;background color Please send me the cause of the problem asap because its most urgent.. Thanks/Regards, R.Ragavendran..   Hi friend
Advertisements
Simple Program Very Urgent.. - JSP-Servlet
Simple Program Very Urgent..  Respected Sir/Madam, I am... = document.employee.empid[i].value; } } if(emp_value=="" || emp_value==null){ alert("Please... database using JDBC Database. Please send me the modified
very urgent : Iam unable to code this program plz help me - RMI
very urgent : Iam unable to code this program plz help me  Write a Multi-user chat server and client.  Hi friend, Chat server is a standlone application that is made up the combination of two-application, server
its very urgent please help me
its very urgent please help me  how can i retrieve all images from ms access database and display in jsp pages
Program Urgent - JSP-Servlet
automatically with the selected Employee ID and Name. Its Very Urgent.. Please send me...Program Urgent  Respected Sir/Madam, I am R.Ragavendran. I am in urgent need of the coding. My requirement is as follows: Beside Enter Employee ID
Program urgent - JSP-Servlet
Please please its very urgent.. Thanks/Regards...Program urgent  Respected Sir/Madam, I am R.ragavendran.. Actually my code shows the following output: There is a combo box which
Please help me... its very urgent
Please help me... its very urgent  Please send me a java code to check whether INNODB is installed in mysql... If it is there, then we need to calculate the number of disks used by mysql
very urgent
very urgent  ** how to integrate struts1.3 ,ejb3,mysql5.0 in jboss server with myeclipse IDE
urgent need
urgent need   Input a line. Count the number of words that start with a capital letter
problem question please need urgent answers
problem question please need urgent answers  Problem Statement Given.... You only need to complete this function. The Main and Node classes for storing linked list are already defined, so you will not need to add them. Every time you
problem question please need urgent answers
problem question please need urgent answers  Problem Statement Given.... You only need to complete this function. The Main and Node classes for storing linked list are already defined, so you will not need to add them. Every time you
Image Program Urgent - JSP-Servlet
Image Program Urgent  Respected Sir/Madam, I am R.Ragavendran.. Actuaaly in the Image Selection coding which is produced below, I am getting... Text box whatever Emp ID I am selecting.. Please help me to get the exact
swing program plz urgent sir - Java Beginners
swing program plz urgent sir   hi sir,i waan a jtable swings program table having column names "itemid","price".Initially table having single empty row.whenever we click the "enter" button automatically new row will be insert
urgent...pleAse help me.....please!
urgent...pleAse help me.....please!  please help me urgent! how can i do dictionary with the use of array code in java, where i will type the word then the corresponding meaning for that word will appear...thanks
Please help me urgent...........
Please help me urgent...........  For what kind of a problem would use a Tree Set and not a Tree Map For what kind of a problem would use a Tree Map and not a Tree Set   Hello Friend, If you want to display the list
Program Arrow selection Most Urgent - JSP-Servlet
Program Arrow selection Most Urgent  Respected Sir/Madam, I... unable to click the images.. Another problem with that is, I need an arrow like...==0) { alert("Please Select Employee Id"); return false; } return true
urgent please, help!
urgent please, help!  how to make jTable unclickable and have unmovable columns, thanks in advance   import javax.swing.*; import java.awt.*; public class SimpleJTableExample{ public static void main(String[] args
JSP and AJAX- very urgent - Ajax
Plz its very very Urgent.. Regards, Ragavendran...JSP and AJAX- very urgent  Respected Sir/Madam, I am Ragavendran.. I have a simple doubt.. At present, I am in a module of the project
Pop up Very Very Urgent - JSP-Servlet
='' Its Very Urgent.. Please send me the coding asap.. Thanks...Pop up Very Very Urgent  Respected Sir/Madam, I am R.Ragavendran.. I got your reply.. Thank you very much for the response. Now I am sending
Very Very Urgent -Image - JSP-Servlet
Very Very Urgent -Image  Respected Sir/Madam, I am... with some coding, its better.. PLEASE SEND ME THE CODING ASAP BECAUSE ITS VERY VERY URGENT.. Thanks/Regards, R.Ragavendran...  Hi friend, Code
Urgent
J2ME programming  Hi, J2ME programming - How to learn J2ME Programming very fast? Thank You
Help Very Very Urgent - JSP-Servlet
requirements.. Please please Its Very very very very very urgent... Thanks...Help Very Very Urgent  Respected Sir/Madam, I am sorry..Actually the link u have sent was not my actual requirement.. So,I send my requirement
JSP and AJAX very urgent - Ajax
JSP and AJAX very urgent  Hi Team, This is Ragavendran.R.. I have a very basic doubt in AJAX. While Using AJAX, of course, there will be tag involved in JSP page. But in my current project, I am using too many tags
Need urgent help with C++ errors!
Need urgent help with C++ errors!  hi, i'm new to C++ programming... don't know what to do. Please help!! #include<iostream.h> void main...' Fatal XYZ.CPP 2: Unable to create output file 'C:\XYZ.obj' somebody please
Ple help me its very urgent
Ple help me its very urgent  Hi.. I have one string 1)'2,3,4' i want do like this '2','3','4' ple help me very urgent
very urgent, want to submit my project on monday
very urgent, want to submit my project on monday  i have the code for connected combo-boxes(jsp). But the thing i want to know is, how to access... combobox (state). When i'm using 'state' i'm getting null value...help me..please
JSP,JDBC and HTML(Very Urgent) - JSP-Servlet
JSP,JDBC and HTML(Very Urgent)  Respected Sir/Madam, Thanks... to ROSEINDIA team.. This is Very Urgent. Plz Plz send me the coding ASAP... is as follows: HOME PAGE: Actually my program deals with accessing employee
very urgent - Java Server Faces Questions
output is not coming.I explain about the output in previeous question. Please check it once and give me a correct solution. It is very urgent for me. Thanks...very urgent  Hi sir, yesterday i send total my code to find where i
Basic problem but very urgent - JSP-Servlet
Basic problem but very urgent  Respected Sir/Madam, I am... strar[2]=white;background color II DONT MAKE ANY SENSE TO ME!!! Please send me the cause of the problem asap because its most urgent.. Thanks/Regards
very urgent - Java Server Faces Questions
deepak@roseindia.net 8888 deepak kumar It is very urgent for me please give...very urgent  Hi sir, see my code and please tell me mistake. it is very urgent for me. here is my code: addmin.jsp: Users
 

 

 

DMCA.com