Find Jobs
Hire Freelancers

CarbonFootprint Interface: JavaPolymorphism

$10-30 USD

Đã đóng
Đã đăng vào hơn 5 năm trước

$10-30 USD

Thanh toán khi bàn giao
Using Interfaces, as you learned in this chapter, you can specify similar behavior for possibly disparate classes. Governments and companies worldwide are becoming increasingly concerned with carbon footprints (annual releases of carbons dioxide into the atmospheres) from buildings, burning various types of fuels for heat, vehicles burning fuels for power, and the like. Many scientists blame these greenhouse gases for the phenomenon called global warming. • Create three small classes unrelated by inheritance --- classes Building, Care, and Bicycle. Give each class some unique appropriate attributes and behaviors that it does not have in common with other classes. • Write an interface CarbonFootprint with a getCarbonFootprint method. • Have each of your classes implement that interface, so that its getCarbonFootprint method calculates an appropriate carbon footprint for that class (check out a few websites that explain how to calculate Carbon Footprints.) • Write an application (driving class) that creates objects of each of the three classes, places references to those objects in ArrayList<CarbonFootPrint>, then iterate through the ArrarList, polymorphically invoking each object’s getCarbonFootprint method. For each object, print some identifying information and the object’s carbon footprint.
Mã dự án: 18291008

Về dự án

6 đề xuất
Dự án từ xa
Hoạt động 5 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
6 freelancer chào giá trung bình $28 USD cho công việc này
Avatar người dùng
Hi there, I am java developer with 7+ years of experience in web and desktop app development. I have strong expertise in OOP, data structure, trees, graphs, cryptography, multi threading, genetic algorithms and much more. This is an easy job for me. Have a look at my profile for my portfolio and similar past work with reviews. Message me, I would like to discuss further details over chat.
$30 USD trong 0 ngày
4,9 (124 nhận xét)
6,3
6,3
Avatar người dùng
Hi, I am a tech savvy person, more than a decade I am developing and delivering applications on PHP and 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 PHP, CI, Laravel, Core Java, Servlets 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
$50 USD trong 2 ngày
5,0 (50 nhận xét)
6,1
6,1
Avatar người dùng
Hello Friend, We have 4+ year experience in design and development of Websites and Mobile Applications. We have relevant experience to your requirement. We can do your project. We have expertise in developing Appointment Application, Business Application, E-commerce Applications, Payment gateway integration etc. We have expertise in Design, Java, PHP, Android, iOS, Database etc. Looking forward to hearing from you. Regards Mahavir
$25 USD trong 1 ngày
4,4 (4 nhận xét)
2,6
2,6
Avatar người dùng
I am an energetic, ambitious person who has developed a mature and responsible approach to any task that I undertake, or situation that I am presented with. As a graduate in IT, I am excellent in working to achieve a certain objective on time and with excellence. A dynamic, technical-oriented professional specialised in various forms of IT, seeking a career in IT where previous experience and skills can be put to efficient use. I have 4 years experience in data entry and virtual assisting, so I will do my job excellent, very professional and on time. Please inform me when do you want me to start if you decide it. Give me a try! I'm not happy 'til you are:) Best Regards, Zorica
$25 USD trong 2 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
I am a certified Oracle Java 8 Developer, and I have a good understanding regarding what is being assessed with the project requisites. Inheritance and polymorphism are 2 main topics for the certification which I know very well. I am able to complete this task in 1 day.
$25 USD trong 1 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của KOREA, REPUBLIC OF
Gimpo-si, Korea, Republic of
0,0
0
Thành viên từ thg 11 16, 2018

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.