public class A
{
......
void display()
{
......
}
.......
}
private class B extends A
{
........
void display()
{
....
}
...
}
What will be the visibility or access specifier for the method display() in class B? why?
{
......
void display()
{
......
}
.......
}
private class B extends A
{
........
void display()
{
....
}
...
}
What will be the visibility or access specifier for the method display() in class B? why?
Comment