When i tried to run the Server with the below 2 lines jumbled it is not working. The Server or Client are not responding. They simply stuck.
// create output first sOutput = new ObjectOutputStream(socket.getOutputStream()); sInput = new ObjectInputStream(socket.getInputStream());
Why should we create the ObjectOutputStream First. How does that make difference.