Intro to Java need answer in an hour
Designing in OOP
Write a set of classes that fulfill the following
requirements. Follow proper encapsulation. This assignment is
graded on proper design of the classes and methods, not what the
methods do themselves. You do not have to provide a main
method, but I suggest you create one to test your designs.
When numbers are needed (for returning from a function, for
instance) you may use random numbers.
Develop four robots to perform work in today's
economy.
All robots have a battery capacity percent, a software version,
and an age. All robots have the ability to
charge() themselves, which sets their battery
percent to 100, and have the ability to upgrade(),
which increases their software version by 1 and their age by
1. Finally, all robots have a work() method,
which does something different based on the type of robot.
Miner robot
Researcher robot
Construction robot
Taxi robot
Intro to Java need answer in an hour Designing in OOP Write a set of classes that fulfill the following requirements. F
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Intro to Java need answer in an hour Designing in OOP Write a set of classes that fulfill the following requirements. F
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!