title: Serializable a object properties too
body: <p>When I have <code>Serializable</code> in a class, do I need to add <code>Serializable</code> to all my objects within the class?</p>
  
  <p>For example,</p>
  
  <pre><code>public class User implements Serializable{
  
  private List&lt;Role&gt; role;
  private Task task;
  }
  </code></pre>
  
  <p>Do I need to add <code>Serializable</code> to <code>Role</code> and <code>Task</code>, too?</p>
  
  <pre><code>public class Task implements Serializable{
      // ...
  }
  
  public class Role implements Serializable{
      // ...
  }
  </code></pre>