I have a question about Serialization. What are the conditions for an object to be serializable?
I know that all member variable in the object must be a primitive type,
String or Serializable object.
Does the method's return value and argument need to be serializable too?
What if the body of a method uses an object that is not serializable?
example:
Thank you