Object Class Inheritance with Interfaces
<p>Can Object class reference variable refer to the reference holed by some Interface reference variable. As we know Interface can't extend any class. So default inheritance of Object class will work with such scenario or not. Obviously answer is Yes but what's the logic behind this.?</p>

<pre><code>    public interface ToTest {

    }

    public class ToTestImpl implements ToTest{

    }

    public class ToTestClass {

        public static void main(String args[]){
            ToTest test = new ToTestImpl();
            Object o = test;
            System.out.println(o);
        }
    }
</code></pre>
