logo

Crowdly

Browser

Add to Chrome

¿Qué ocurre?   class Persona { private String nombre ; public St...

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

¿Qué ocurre?

 

class Persona {

private String nombre;

public String getNombre() {

return nombre;

}

public void setNombre(String n) {

nombre = n;

}

}

public class Test {

public static void main(String[] args) {

Persona p = new Persona();

p.nombre = "Juan";

}

}

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