title: Multiple Inheritance: same variable name
body: <pre><code>class A
  {
     protected:
      string word;
  };
  
  class B
  {
     protected:
      string word;
  };
  
  class Derived: public A, public B
  {
  
  };
  </code></pre>
  
  <p>How would the accessibility of the variable <code>word</code> be affected in <code>Derived</code>? How would I resolve it?</p>