title: Serializable and transient
body: <p>To make a class serializable we do the following:</p>
  
  <pre><code>class A implements Serializable {
      transient Object a;
  }
  </code></pre>
  
  <p>And not this:</p>
  
  <pre><code>serializable class A {
     transient Object a;
  }
  </code></pre>
  
  <p>Why, if we want to make a class serializable, do we implement a <strong>special interface</strong>. And if we want to exclude some fields we use the <strong>keyword</strong> <code>transient</code>?
  Why aren't special keywords used in both cases? I mean were there any reasons to make the same thing in different ways? I know, there is no such keyword as <code>serializable</code> but why wasn't it introduced instead of the special interface <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html" rel="noreferrer"><code>Serializable</code></a>?</p>