serialization - What needs to be Serializable in this Java situation? -


I have a class Thing:

  public abstract class Thing {// stop package Immediately out. Actually, there will be no such thing. Actually Thing Thing () {} will be a runtime class; Creating Public Static Items () (New Explanation 1); } Making Public Static Cheese Special () {New Special Ting (2); }} Final Class Special Tying 1 Things Expands the final category special tieing 2 {/ * etc etc} /  

Actually I want to Commodities are eligible for serialized to the customer, and to know that the serials are eligible for the client, which category (SAS) is to implement serial jabal? And which serial virionuid is needed?

You need to mark Thing as the serialabel and it Will be received by special type 1 and specialty2 . You do not have not to add serial version UID to any category but you are recommended that you do it; In this way you can control the version of classes between the client and the server code - see the related question.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -