I'm new to OOP. Look at following pseudo code:
Class Test{
public String a;
protected String b;
private String c;
public void aa(){}
protected void bb(){}
private void cc(){}
Class Test2{
private void dd(){}
}
}
Class Test3 extends Test{
private void ee(){}
}
Class Test4{
private void ff(){}
}
Can a
, b
and c
access into aa()
, bb()
and cc()
? Can a
, b
and c
access into the class Test2
and dd()
? Is true that only a
and b
can access into the class Test3
and ee()
? Is true that only a
can access into the class Test4
and ff()
?