title: If declaring member data as primitive data types, will values be serialized if object is declared serializable?
body: <p>i have a question on whether the use of using primitive data type as opposed to their wrapper counter parts have any due effects on their serialization?</p>
  
  <p>For example, i have a class Person</p>
  
  <pre><code>public class Person implements Serializable{
  private int age;
  }
  </code></pre>
  
  <p>as opposed to </p>
  
  <pre><code>public class Person implements Serializable{
  private Integer age;
  }
  </code></pre>
  
  <p>What are their differences?</p>