Modify the example in 3, Such that it notify the availability via update method to the subscriber and then the message is displayed according to the value in the update method parameter.
Instead of passing the availability in the update method, Convert now to pass the instance of the WhiteShirt(Publisher) to its subscriber and then they act accordingly.
×
Observer Evaluation
To earn PASS status, system is about to evaluate you using multiple choice questions (MCQs) and True/False type questions.
CAREFULLY READ THE FOLLOWING INSTRUCTIONS!
Make sure you have learned this lecture along with its topics and tutorials.
On first evaluation you get 100% marks on correct answer, then on 2nd you get 95% marks and so on.
Answer the questions with a gap NOT MORE THAN A MINUTE, Otherwise it will re-start.
I have read above instrucitons and ready for evaluation.
Your's
Status
Not Registered
Teacher
Mukhtiar Zamin
Alert Your performance monitoring will start when you register in a class of this course.