forum

Home / DeveloperSection / Forums / What is a serialVersionUID and why should I use it?

What is a serialVersionUID and why should I use it?

Anonymous User187504-May-2015
Eclipse issues warnings when a serialVersionUID is missing.

The serializable class Foo does not declare a static final serialVersionUID field of type long
What is serialVersionUID and why is it important? Please show an example where missing serialVersionUID will cause a problem.

Updated on 05-May-2015
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By