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
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