✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
On considère :
package p1;
public class A {
protected int valeur = 10;
}
package p2;
import p1.A;
public class B extends A {
public void test() {
System.out.println(valeur);
}
}
Que peut-on conclure ?