title: Can I access methods of different class having diff properties using single object?
body: <p><em>NOTE : This question was asked to me in an Interview</em></p>
  
  <p>We have 3 classes having different properties.</p>
  
  <pre><code>class A{}
  
  class B extends A{}
  
  class C extends A{}
  </code></pre>
  
  <p>Can I call any method present among these 3 classes with a <strong>Single Obj ?</strong></p>
  
  <p>I got confused because <strong>class B</strong> don't have properties of <strong>class C</strong> and viceversa. </p>
  
  <p><strong>Is there any way to make this possible ?</strong></p>