✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
¿Qué imprime?
class A {
int x = 5;
void mostrar() {
int x = 10;
System.out.println(x);
}
}
public class Test {
public static void main(String[] args) {
A a = new A();
a.mostrar();
}
}