title: Does a base class's constructor and destructor get called with the derived ones?
body: <p>I have a class called MyBase which has a constructor and destructor:</p>
  
  <pre><code>class MyBase
  {
  public:
      MyBase(void);
      ~MyBase(void);
  };
  </code></pre>
  
  <p>and I have a class called Banana, that extends MyBase like so:</p>
  
  <pre><code>class Banana:public MyBase
  {
  public:
      Banana(void);
      ~Banana(void);
  };
  </code></pre>
  
  <p>Does the implementation of the new constructor and destructor in Banana override the MyBase ones, or do they still exist, and get called say before or after the Banana constructor / destructor executes?</p>
  
  <p>Thanks, and my apologies if my question seems silly.</p>