title: Memory allocation of interface
body: <p>I know interface cannot be instantiated, but if we assign it to an object, could anyone please explain how the memory gets allocated to it. For ex:</p>
  
  <pre><code>ITest obj = (ITest) new TestClass1();  //TestClass1 is a class which implements ITest
  obj.MethodsDefinedInInterface();
  </code></pre>
  
  <p>Does ITest converts to object to save properties and methods of TestClass1.</p>