✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
¿Cuál será la salida del siguiente código?
class A { int x = 10;}class B extends A { int x = 20; void mostrar() { System.out.println(super.x); }}public class Main { public static void main(String[] args) { B obj = new B(); obj.mostrar(); }}