Question: Write Java code to implement the following functions: (a) Define a Java class named Student with Student id, Student name as instance variables and relevant
Write Java code to implement the following functions: (a) Define a Java class named Student with Student id, Student name as instance variables and relevant set and get methods.
(b) Create two objects of the Student class and serialize them to file named stud.dat.
(c) Accept TCP connection request from clients.
(d) For each accepted connection, create a thread to process the request.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
