logo

Crowdly

Browser

Add to Chrome

¿Qué imprimirá el siguiente código? class A {     A() {         System.out...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

¿Qué imprimirá el siguiente código?

class A {

    A() {

        System.out.println("Constructor de A");

    }

}

class B extends A {

    B() {

        System.out.println("Constructor de B");

    }

}

public class Main {

    public static void main(String[] args) {

        new B();

    }

}

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.elpuig.xeill.net?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome