Find Jobs
Hire Freelancers

Basic Java

$10-30 USD

Terminado
Publicado hace más de 5 años

$10-30 USD

Pagado a la entrega
Create 3 small classes unrelated by inheritance: Building, Car, and Bicycle. Give each class the unique attributes and behaviors as specified in the class diagram in Figure 1 below. Create a single constructor for each class to allow consumers of the class to provide initial values for each [login to view URL] an interface CarbonFootprint with a getCarbonFootprint [login to view URL] each of your classes implement that interface so that its getCarbonFootprint method calculates the appropriate carbon footprint for that class, as specified below:Building footprint = ([monthly gas bill / 10.68] * 119.58 * 12) + ([monthly electric bill / 0.1188] * 1232 * 12)[login to view URL] footprint = miles driven per year / miles per gallon * [login to view URL] footprint = miles traveled per month * 0.9. Write an application that does the following:Creates objects of each of the 3 [login to view URL] references to those objects in an array of CarbonFootprint Iterates through the array, polymorphically invoking each object’s getCarbonFootprint [login to view URL] each object, print identifying information, such as miles traveled or monthly bill amount, along with the object’s carbon footprint. Extend Exercise 1 by creating and demonstrating the use of an InvalidFootprintException [login to view URL] the 4 constructors as discussed in this module/week’s [login to view URL] the appropriate [login to view URL] the InvalidFootprintException in the constructor of the Building, Car, and Bicycle classes if any of the provided parameter values are [login to view URL] code in your main method that handles the InvalidFootprintException, and write code that demonstrates that your handler works (i.e., write code that purposefully causes the InvalidFootprintException to be thrown, but then ensure that it does not crash your program). Instead of crashing, your main method must print a message to the error stream that an invalid footprint was detected.
ID del proyecto: 17676404

Información sobre el proyecto

40 propuestas
Proyecto remoto
Activo hace 6 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
Adjudicado a:
Avatar del usuario
5+ years of Java Experience. Will complete it within a day. No need to award the project untill done.
$15 USD en 1 día
5,0 (1 comentario)
0,6
0,6
40 freelancers están ofertando un promedio de $28 USD por este trabajo
Avatar del usuario
Hello!! I am Gang Lee and I read your post. But I have something to ask you. I am magic talented developer in your skill. If you wanna be success , hire me I am looking forward to keeping touch with you Thanks
$111 USD en 1 día
4,9 (933 comentarios)
9,3
9,3
Avatar del usuario
Hi there, I do Java programming. I went through your requirements and I would like to do this project if given the opportunity. Let me know if you are interested so I can start.
$30 USD en 1 día
4,9 (1428 comentarios)
7,9
7,9
Avatar del usuario
HI...I am programming in Java as object oriented applications for last 10 years and can help you complete the project as per given requirements with good comments. please contact me as soon as possible for a discussion.
$60 USD en 1 día
4,9 (334 comentarios)
7,0
7,0
Avatar del usuario
I am very proficient in java. I have 16 years java developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using java under Linux environment. I made many great projects using java, for example, I made the tools which could convert java files into c++ scripts, of course garbage collection included, this job was very similar to a compiler, and was very complex. I also made our own mobile game using java, I can show you the demo of client, if you like. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you. Besides, I am very proficient in c++ also, hope I can help you.
$70 USD en 1 día
4,9 (198 comentarios)
7,3
7,3
Avatar del usuario
Hello I'm expert java developer with experience in object oriented, data structure, swing, javafx and more advanced . I can help you to finish this project with great quality. Regards
$20 USD en 1 día
4,9 (437 comentarios)
6,7
6,7
Avatar del usuario
Hi, I am a tech savvy person, more than a decade I am developing and delivering applications on Java based technologies. I am a certified Java professional. My logical thinking and problem solving skills are quite good. Currently I am developing several applications using Core Java, Servlet,s JSP., Spring framework, restful services, Hibernate, JPA, MySQL, Oracle, MongoDB and Angular.js as Front End. Please come for chat, let us discuss and will start the work right away. NOTE : Most of the technical tests are passed with 90% and above in freelancer.com skill tests. Thanks Paul
$60 USD en 2 días
4,9 (78 comentarios)
6,3
6,3
Avatar del usuario
Ready to start the work to create the inheritance program in jave ,please check my recent similar work ,we can discuss more over chat,thanks regards Arjun S.
$15 USD en 1 día
4,4 (19 comentarios)
6,0
6,0
Avatar del usuario
Dear Employer! I'm glad that I can work on your project with proficiency. I have 3 years of professional working experience in Java. I think I'm the best person to work on your project in an affordable budget. Also, I never compromise on work quality and deliver it before due time. Discuss with me in chat if you think I'm worth it then we have deal.
$13 USD en 1 día
5,0 (17 comentarios)
5,0
5,0
Avatar del usuario
I would like to offer myself as a probable candidate for this assignment as I am confident of delivering a quality output. I have excellent expertise in this area. I have total 7 years or experience in web development and design using java,j2ee,spring,hibernate,CSS,jquery,angular js, rest/soap web services
$35 USD en 1 día
4,8 (33 comentarios)
4,9
4,9
Avatar del usuario
Hi, I'm an experienced java developer, I'm also a computer science graduate so I've solved so many similar assignments and I can do this one for you easily.
$20 USD en 1 día
5,0 (20 comentarios)
4,8
4,8
Avatar del usuario
Hi, I have read your project requirements and very interested to work on your it. I have completed many projects including concepts of file input output, data structure, algorithm and games. I write well formatted code with comments. Awaiting your positive reply. Thank you
$17 USD en 1 día
4,5 (32 comentarios)
4,8
4,8
Avatar del usuario
Hello, I have over 10-years commercial Java experience and can complete this for you today. I'm sure you'll be happy with the results.
$22 USD en 1 día
5,0 (9 comentarios)
3,7
3,7
Avatar del usuario
Hello I am the best java coder here and can guarantee you best work at the lowest price Kindly send me a message and consider your work done Thanks
$25 USD en 1 día
4,9 (12 comentarios)
3,9
3,9
Avatar del usuario
Hi, I can understand your requirements. I will do it for you. Provide more information. Thanks..
$29 USD en 2 días
4,6 (11 comentarios)
3,5
3,5
Avatar del usuario
Hello I'm a software engineer from Greece , this seems a quite easy project i can do it with smallest amount of money even for free. My motivation is to complete it and deliver it to you to receive a very good review. If you are interested just ping me.
$10 USD en 2 días
5,0 (1 comentario)
0,6
0,6
Avatar del usuario
Im passionate software engineer who has been worked almost 5 year in the industry so I will make you have in the end
$15 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I am a passionate and creative programmer. I have more than 3 years of professional experience in developing REST API's / microservices using Spring Boot, Spring Data JPA, Spring Cloud features in microservices based architecture pattern.
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I'll be using IntelliJ Idea for this work. 1) I proceed by creating 3 classes as described giving their respective attributes and functions as desired. 2) I'll test each class using test cases to verify for bugs. 3) Then proceed with CarbonFootprint interface and implement it in the classes. Using formulae to calculate the respective carbon emissions for the class objects. 4) Creating the driving class and storing the objects in an array. 5) Printing the details of the objects in the array with their respective attributes. 6) Creating InvalidFootprintException class and extending it in my 3 classes (described above). Using 4 constructors to handle exceptions and printing an invalid message without crashing the program.
$10 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I am a programmer. My code is less complex and easy to understand.
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I am an experienced software development currently trying to build a good reputation on this site. This is why I can offer my services at a very low price and I am extremely motivated to provide a quality and fast service. If you would like to discuss further I am more than happy to. Cheers!
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
lynchburg, United States
5,0
6
Miembro desde ago 31, 2018

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.