Sunday 22 December 2019

serialization - What is Serial Version ID in Java?


Possible Duplicates:
Why should I bother about serialVersionUID?
what is a serial version id?







When i created a new class extending java.util.logging.Level in Eclipse, It asked me to add a default or generated serial version ID. I just added blindly without knowing what it is and why I have to add it.



Can anybody tell me what is it and why it its required.

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...