yClass = class(TObject, IInterface)
    // ...
  end;
</pre>
<p>
  Note that this is not a recommended approach, as nothing on the object will be accessible through
  the interface.
</p>
<h2>Resources</h2>
<ul>
  <li>
    <a href="https://docwiki.embarcadero.com/RADStudio/en/Object_Interfaces_(Delphi)">
      RAD Studio documentation: Object Interfaces (Delphi)
    </a>
  </li>
</ul>