I\'ve implemented Serializable in class \'userInfo\'. Still I\'m getting exception. Here\'s the output console -
java.io.WriteAbortedException: writing aborted;
why I'm getting NotSerializableException exception though I've implemented 'Serializable'
You haven't.
java.io.NotSerializableException: chatservernazmus.User public class userInfo implements Serializable{ public class User{
The User class must be serializable as well.
User