logo

Crowdly

Browser

Add to Chrome

¿Qué salida se genera el siguiente código? class Coche { String marca...

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

¿Qué salida se genera el siguiente código?

class Coche {

String marca = "Toyota";

 

void imprime() {

System.out.println("Marca: " + marca);

}

}

 

public class Test {

public static void main(String[] args) {

Coche c = null;

c.imprime();

}

}

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