Got the perfect answer the answer is as follows
whenever we access any private method or private variable of a particular class from the same class it will call the same class's private method only irrespective of inheritance.
for supporting my answer giving one example
class BAAP
{
protected void meth()
{
System.out.println("Baap");
}
public static void main(String[] args)
{
BAAP b = new BETA();
b.meth();
}
}
class BETA extends BAAP
{
//private void meth()
public void meth()
{
System.out.println("Beta");
}
}
meth method is overridden in BETA with higher access specifier so now as per inheritance rule (since meth of BETA is accessible)output would be : Beta
but since meth is private in BAAP the output will be : Baap
for more clarification just change the access specifiers of both the method as public and observe the output.