title: Serializing interfaces in java
body: <p>I've a Class C which contains a Map property of another type (class A).
  I've implemented Serializable interface for class C and A</p>
  
  <pre><code>public class C {
  
      Map&lt;A, Map&lt;Interface_I, Double&gt;&gt; x;
  private void writeObject(java.io.ObjectOutputStream stream) {...}
  private void readObject(java.io.ObjectInputStream stream) {...}
  }
  </code></pre>
  
  <p>For the interface I how can I make it serializable ?</p>