You have the following class hierarchy
<pre><code>class A(object): 
    def foo(self): 
        print 'hi'
class B(A): 
    def foo(self): 
        print 'bye'  
</code></pre>

<p>Which of these statements are correct?</p>

<ol>
<li>When <code>a = A()</code> we say that a is an instance of A</li>
<li>When <code>b = B()</code> we say that b is a subclass of A</li>
<li>Both of the above</li>
<li>Neither of the above</li>
</ol>

<p>I believe that the answer is <strong>B</strong>.</p>