1. For the UML class diagram given below, identify the classes and their relationships. Based on your understanding of the class diagram (below), create the relationships in python code and add the relevant functions and test the classes. 2. For the requirements given below, you have to draw a UML class diagram and then create the relationships in python code with relevant attributes, functions, and relationships. Test the classes by creating instances(objects). Requirements: - A vehicle contains an engine. - A driver with a driving license is assigned to drive a vehicle. - Cars and busses are types of vehicles..
1. For the UML class diagram given below, identify the classes and their relationships. Based on your understanding of the class diagram (below), create the relationships in python code and add the relevant functions and test the classes. 2. For the requirements given below, you have to draw a UML class diagram and then create the relationships in python code with relevant attributes, functions, and relationships. Test the classes by creating instances(objects). Requirements: - A vehicle contains an engine. - A driver with a driving license is assigned to drive a vehicle. - Cars and busses are types of vehicles..