Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose you need to write code for a program for group chat. Whenever a user will send a message then it will be delivered to
Suppose you need to write code for a program for group chat. Whenever a user will send a message then it will be delivered to all other participants in the chat. Any online user of the chat group can send and receive the message. Let's implement this case scenario using mediator design pattern.
Classes of the system is given below. But in the diagram some statements of the classes are deleted. Deleted parts are shown with red symbol in the diagram.
Match the deleted parts with the appropriate statements Note: Statements are also given in the figure
a users: ArrayList User
b chat:Ichat
c user:User
a users: ArrayListIIIIII
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started