title: Is it possible to create object for Runnable interface in java
body: <p>I can't understand below code to create <code>Runnable</code> object.  Could someone please explain clearly what is happening here:</p>
  
  <pre><code>public class ThreadStart {
    public static void main(String[] args) {  
      Thread t1 = new Thread(new Runnable() { 
        @Override
        public void run() {
          for(int i=0;i&lt;5;i++) {
            System.out.println(i+" runnable thread...");
          }
        }
      });
      t1.start();
    }
  } 
  </code></pre>