You are creating a phone app to display current weatherinformation. which follows the Observer design pattern. To extendthat functionality, you will have to do the following (check allthat apply):
a. Create the class as “class DisplayPhone : public Weather”
b. Create the class as “class DisplayPhone : publicObserver”
c. Create the class as “class DisplayPhone”
d. Register the DisplayPhone class with the Weather class.
e. Modify the Weather class to add an instance of DisplayPhonefor notification.
Expert Answer
An answer will be send to you shortly. . . . .