Question: [I'll upvote you if you can do it perfectly] Write a JAVA program to chat with 3 friends using input console: -Use synchronous thread -Chat
![[I'll upvote you if you can do it perfectly] Write a](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3b592728cc_76266f3b5920a52f.jpg)
[I'll upvote you if you can do it perfectly]
Write a JAVA program to chat with 3 friends using input console: -Use synchronous thread -Chat message input must take from keyboard (Not using pre-defined message in array) Example: Friend-1: Hi Friend-2: Hello Friend-3: Hi, how are you all? Friend-1: I'm Fine! Friend-2: I'm fine too, what about you? Friend-3: Great! Friend-1: Bye (Conversation has ended) [If anyone type: Bye in the console then the program will end)]
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
