Find Jobs
Hire Freelancers

405023 Java project using Inheritance

$30-250 USD

Cerrado
Publicado hace alrededor de 11 años

$30-250 USD

Pagado a la entrega
Please visit this link to see what this project requires: [login to view URL] The purpose of this assignment is to create a Java applet that uses inheritance and overridden methods. The applet will process order information. An order may be shipped or picked up. There is an additional shipping and handling charge if the order is shipped. The project is based on an exercise in the textbook Java Programming by Joyce Farrell. 1. Create an applet that uses three classes. The classes will be named Order, ShippedOrder, and UseOrder. 2. The Order class will have four private instance variables. These variables will be for the customer name (String), the customer number (integer), the order quantity (double) and the unit cost (double). The Order class will have the following instance methods - get/set customer name, get/set customer number, get/set order quantity, get/set unit cost. The Order class will also have a computePrice instance method. This method should return the result of multiplying the order quantity times the unit cost. The computePrice() method cannot have any arguments passed to it. 3. The ShippedOrder class will be a subclass of the Order class. This class will have one new private instance variable. This instance variable will store a shipping and handling charge. Set the shipping and handling charge to a constant $4. The ShippedOrder class will have one new method. This method must be named computePrice and it must override the computePrice method in the Order superclass. The computePrice method in the ShippedOrder class should return the order cost (quantity times unit cost plus the shipping and handling charge). 4. Make sure the user can change the data on the screen and create another order of the same or an order of a different type. No additional components should be displayed under these circumstances. 5. Include the html for the applet tag as a comment in your source code. This html will be graded as part of the assignment. 6. The UseOrder class will be the applet. Use a GridLayout layout manager to position the appropriate components as illustrated in the example below. The initial user interface with JTextField objects for the customer name, customer number, order quantity, and unit cost. Figure 1 7. The applet should allow the user to enter data for the customer name, customer number, order quantity, and unit cost as illustrated in the example below. Applet form with completed user input for the order. Figure 2 7. The user can then click the "Display Shipped Order" button to create an object of the ShippedOrder class or click the "Display Order" button to create an object of the Order class. After the appropriate object is created, print all the values of the instance variables and the order's total cost. You must use the get methods to retrieve the values from the object and you must use the computePrice method to "retrieve" the order's total cost. The output for a shipped order would look like the example below. Make sure you can also display the same information for a order object (not shipped). The "output information" at the bottom of the window must be in a different foreground color. Applet form with completed data for the order. Figure 3
ID del proyecto: 4375497

Información sobre el proyecto

39 propuestas
Proyecto remoto
Activo hace 11 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
39 freelancers están ofertando un promedio de $79 USD por este trabajo
Avatar del usuario
Hi, I am JAVA expert and can surely help you here with this assignment. Thank You
$110 USD en 2 días
4,9 (173 comentarios)
6,4
6,4
Avatar del usuario
let me help you.
$70 USD en 0 día
4,8 (42 comentarios)
6,2
6,2
Avatar del usuario
Hi, I am expert at Java and can surely satisfy you. Please check your inbox,
$177 USD en 3 días
5,0 (80 comentarios)
6,1
6,1
Avatar del usuario
Hello, Please view PMB. Ashwin
$165 USD en 1 día
4,9 (39 comentarios)
5,7
5,7
Avatar del usuario
Let me help you on this, please check your pm.
$147 USD en 3 días
4,8 (44 comentarios)
5,5
5,5
Avatar del usuario
hi i can do this contact if interested
$77 USD en 5 días
4,8 (22 comentarios)
5,1
5,1
Avatar del usuario
Let me help you. Please check your pmb for more details.
$120 USD en 2 días
5,0 (35 comentarios)
4,9
4,9
Avatar del usuario
I have completed the work, and please check the PMB for more details.
$34 USD en 0 día
4,9 (36 comentarios)
4,1
4,1
Avatar del usuario
I am Java expert. Ready to help you
$147 USD en 3 días
4,9 (13 comentarios)
4,0
4,0
Avatar del usuario
Please check private message.
$50 USD en 1 día
4,8 (10 comentarios)
3,8
3,8
Avatar del usuario
Greetings, I am Java developer with more than 6 yrs of experience in software development, mainly java web development. I can develop and deliver the requested functinality in no more than 4 days. Best regards, Daniel
$154 USD en 4 días
4,9 (7 comentarios)
3,7
3,7
Avatar del usuario
much experiences, please contact me should you need my help. thanks/denial
$88 USD en 3 días
4,8 (4 comentarios)
3,7
3,7
Avatar del usuario
I am very efficient in java. I have 15 years java programming experience now, and have worked for 5 years. Please let the expert help you.
$135 USD en 4 días
4,0 (9 comentarios)
3,7
3,7
Avatar del usuario
I have more than 6.5 years of experience in Java and J2EE. I can do this for you in the given time frame. Happy to help.
$60 USD en 3 días
5,0 (2 comentarios)
2,6
2,6
Avatar del usuario
please check your pmb
$110 USD en 0 día
5,0 (2 comentarios)
2,1
2,1
Avatar del usuario
You provided great specifications so it will be easy to complete the project in no time.
$100 USD en 3 días
5,0 (1 comentario)
2,1
2,1
Avatar del usuario
I have 6 years work experience in Java swing, Java EE, JSF, Spring, Hibernate, MySQL, Oracle technologies. I am also Oracle certified professional. I can do your job.
$60 USD en 2 días
4,6 (4 comentarios)
2,0
2,0
Avatar del usuario
Hi, I am available just now. Could you let me know to start your project. You project will be done 30% in 1hour. Thank you.
$157 USD en 2 días
5,0 (1 comentario)
1,6
1,6
Avatar del usuario
Native English speaker with extensive technical experience. Degree in Comp Sci and have worked in the industry on lots of Java projects. Can get it done in a day or two max.
$125 USD en 2 días
5,0 (1 comentario)
1,4
1,4
Avatar del usuario
I have good experience with java applets and can sure do this.
$70 USD en 2 días
5,0 (1 comentario)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Winter Springs, United States
0,0
0
Miembro desde mar 28, 2013

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.