Question: Code the solution in Java, using empty ( or near - empty ) methods. Then use your UML generation tool to create the UML. Remember,
Code the solution in Java, using empty or nearempty methods. Then use your UML generation tool to create the UML. Remember, I grade by UML if you forget to make a connection in your code, thats on you, not the UML generator.
Notes:
Remember not to include the package name!
Make the diagram clear and clean, not a spider web mess of lines going everywhere.
The UML must be complete and accurate. This includes classes, fields, constructors, methods including parameters visibilities, relationships between classes, etc.
For this week, design a CarRentalFactory, which produces: Economy, Luxury, and Truck.
Things to look out for in UML:
The factorys name should end in the word Factory in its name, as in Factory.
A factory should return a parent class that leverages polymorphism.
If you choose to UML a factory that uses an enum, the enum should be a separate class in UML.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
