Question: 4. Consider an application that stores weather records for various locations, each consisting of a list of readings. Each reading consists of a time
4. Consider an application that stores weather records for various locations, each consisting of a list of readings. Each reading consists of a time stamp, temperature, rainfall and wind speed. The application computes the average, minimum and maximum value for each variable for a single location and across multiple locations. a. Propose a UML class diagram for the application. b. C. Explain the object-oriented features incorporated in your design. [10 marks] [5 marks] Suppose the classes in part (a) have been implemented in Java. Write code to test the implementation. [5 marks]
Step by Step Solution
3.46 Rating (156 Votes )
There are 3 Steps involved in it
1 UML Class Diagram for the Application plaintext Location readings List Reading getAverageVariable ... View full answer
Get step-by-step solutions from verified subject matter experts
