title: If we inherit a class do the private variables also get inherited?
body: <p>If we inherit a class do the private variables also get inherited?</p>
  
  <p>I know that "<em>Yes, the variables are inherited but cannot be accessed directly by the class interface.</em>"</p>
  
  <p><strong>What I want to know is how can we access the private variables/methods from the child class</strong></p>
  
  <p><em>What I am trying to say is that private members are also inherited.But how to access the same without making them protected.</em></p>