Company: Paypay_SDE
Difficulty: medium
Problem Description Implement a weather monitoring system using the Observer Design Pattern. The system should allow multiple displays to receive and respond to weather data updates. Your task is to create a WeatherStation that acts as the subject, broadcasting weather updates to different display elements that implement the Observer pattern. The system should support real-time updates, dynamic registration/unregistration of displays, and specialized display behaviors. Technical Specifications Tech Stack: Java Tasks The following 6 tasks must be implemented in the WeatherSystem.java file: Initialize the WeatherStation Constructor: Initialize the observer collection as an empty ArrayList Set default values for all weather measurements (temperature, humidity, pressure, windSpeed) Implement Observer Registration Methods: Complete the registerObserver() method to add an observer if not already present Complete the removeObserver() method to remove an observer from the collection Complete t