Question: Please write a JAVA program that includes source code for JAVA (.java files), the source code for CPP (.cpp and .h files) and UML diagram.
Please write a JAVA program that includes source code for JAVA (.java files), the source code for CPP (.cpp and .h files) and UML diagram. Please meet all the requirements below:
-Add a comment for each header and explain the purpose of the class.
-Every method should have comments explaining what it does, what its parameters are, and what values it returns.
-No crashes
-Exceptions are handled appropriately


Below is a sample run:



You are implementing a system that manages parking lot using object-oriented principles The parking lot has multiple levels. Each level has a multiple rows of spots. Motorcycles, cars and buses can park. It has motorcycle spot, compact spot and large spot. A motorcycle can park in any spot. - A car can park in either a single compact spot or a single large spot. A bus can park in five large spots that are consecutive and with in the same row. It cannot park in small spot. A) Draw a UML class diagram. Identify classes and the relation between them (for example inheritance or aggregation) Use a standard tool to draw UML diagram such as starUML which you can download it from http://staruml.io/download. Manual UML clas:s diagrams are not accepted. . B) Convert the class diagram to software classes. You are implementing a system that manages parking lot using object-oriented principles The parking lot has multiple levels. Each level has a multiple rows of spots. Motorcycles, cars and buses can park. It has motorcycle spot, compact spot and large spot. A motorcycle can park in any spot. - A car can park in either a single compact spot or a single large spot. A bus can park in five large spots that are consecutive and with in the same row. It cannot park in small spot. A) Draw a UML class diagram. Identify classes and the relation between them (for example inheritance or aggregation) Use a standard tool to draw UML diagram such as starUML which you can download it from http://staruml.io/download. Manual UML clas:s diagrams are not accepted. . B) Convert the class diagram to software classes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
