Is it possible to access a private method of parent class from the child class in Java?
<p>How do I call a private method in this type of parent class? What I have done is an ugly peice of code but it works though I don't think it's a real solution.</p>

<p>Would really appreciate some advice on how this is done. I have looked to find solution but non that have given me some clarity on the matter. </p>

<pre><code>    public abstract class Car {

         public void passItOn(int a) {

                takesVariable(a);

         }
    private void takesVariable(int a) {

         //Process the variables
    }
</code></pre>

<p>the child:</p>

<pre><code>     public abstract class Wheel extends Car {

     boolean a = anotherMethod();
        if(value() != a) {
          passItOn(a);
        }

     }
</code></pre>

<p>There is some issue with my accaptance rate but I am on it! All will give + marks for replies!!!</p>
