title: what is the different between default and generated serial version uid in java?
body: <p>I don't know exactly where to use <strong>default serialVersionUID or generated serialVersionUID</strong> in java ?</p>
  
  <pre><code>private static final long serialVersionUID = 4125965356358329466L; // generated
  private static final long serialVersionUID = 1L; // default
  </code></pre>