(a) A software company is developing a system for smart-agriculture monitoring. The system is designed using an object-oriented approach with distinct modules for sensors, irrigation hardware, and data analysis.
two benefits that the development team would experience by utilizing modularity in the design of this system.
(b) a UML class diagram for the SoilSensor class. The class must include the attributes sensorID, moistureLevel, and batteryLife, as well as the methods getReading() and updateFirmware(). You do not need to include data types or access modifiers.