dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Java
Expertise: Intermediate
Jan 10, 2019

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Using the Serialver Tool

Java provides a mechanism to know the serialization properties of a given class.

Command: serialver -show

The above command will bring up a window titled Serial Version Inspector with fields Full Class Name and Serial Version.

The input to the Full Class Name has to be provided and then click on the show button. This will display the serialization details of the given class.

The name has to be the classname (for example: if the class is UsingBraces.class, then only UsingBraces is needed)

In case, the given class is not serialized, it displays that the class UsingBraces is not serializable.

M S Sridhar
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Thanks for your registration, follow us on our social networks to keep up-to-date