title: Can I create an object for Interface?
body: <p>Is it possible to create an object for an interface?  If yes, how is it done?
  According to my view the following code says that we can:</p>
  <pre class="lang-java prettyprint-override"><code>Runnable r = new Runnable() {
      // some implementation
  }
  </code></pre>