title: Inheritance - C++
body: <p>I am using a class say <strong>baseClass</strong>, from which I derive another class <strong>derivedClass</strong>. I have a problem definition that says, apart from others:</p>
  
  <p>i) A member - object initialiser should be used to initialise a data member, say var1, that is declared in the base class.</p>
  
  <p>ii) i) is done inside a base class constructor. It says, this has to be invoked only via a derived class constructor. </p>
  
  <p>iii) The base class is an abstract class, whose objects cannot be created. But, I have a third class, inside which, I use:</p>
  
  <pre><code>baseClass *baseObjects[5];
  </code></pre>
  
  <p>The compiler does not report an error.</p>
  
  <p><strong>I</strong> do not understand, what i) and ii) really mean. An explanation in simple words would be fine. Also, any assistance on iii) is welcome.</p>