title: Any object can be assigned in interface reference variable when class will implement these interface
body: <p>Any object can be assigned in interface reference variable when class will implement these interface.</p>
  
  <pre><code>public interface MyInterface {
  }
  
  public class Test implements MyInterface {
      public static void main(String[] args) {
          Test test = new Test();
          MyInterface myInterface = test;
      }
  </code></pre>
  
  <p>What is the meaning of this line?</p>
  
  <pre><code>MyInterface myInterface = test; 
  </code></pre>