Question: JAVA QUESTION: Consider two User, P1 = Teacher (Server) and P2= Student, the user P2 starts a discussion with the User P1 by sending a

JAVA QUESTION:"

Consider two User, P1 = Teacher (Server) and P2= Student, the user P2 starts a discussion with the User P1 by sending a greeting message. Then a communication starts between P1 and P2. P2 sends different Queries to P1 to solve and in response P1 answers the Queries of P2. This communication continues until P2 sends a Thanked Message to the User P1. Your task is implement the above scenario using Java Socket Programming. Write neat and clean code for each end of the User, P1 = Teacher (Server) and P2= Student. You have to use the Java provided Exception Handling mechanism too.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!