so I know that maybe in the end I can figure it out, but I could not find a topic that answers this seemingly simple question.
I am serializing a vector of a set of objects, each of which has one user-defined class. I know that vectors are serializable. Should I also make the user-implemented class serializable? And each of these custom classes contains other custom classes. Do I need to designate them as a Serializable implementation? (and so on, or just a top-level class should implement Serializable)?
(Forget that you should use a list of arrays instead of lists, I've heard this before, I practice, because I hear that vectors are good for multithreading. I found topics that discuss similar things, but not quite that)
thanks
source
share