Recently I am making a server-client program using multithread concept. For some reason, I have to sent an array of string from client to server. I am using
String data = new String
String newData = new String
I believe when you read your object using
readObject(), it should return your String itself.
String myObjects = (String)inObjectStream.readObject();
Is that not working?