Classes A, B and U below are in same package. Class B inherits class A, and class U has a private member instance of B:
class A {
int i;
protected int j;
private int k;
}
// class B inherits A
class B extends A {
private void foo() {
//....
}
private int l;
}
// class U uses B
class U {
private void bar() {
// ...
}
private B b = new B();
}
Select all the statements that are true about the accessibility of data members and methods: