logo

Crowdly

Browser

Add to Chrome

¿Por qué falla la siguiente clase?   public final class Persona { ...

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

¿Por qué falla la siguiente clase?

 

public final class Persona {

private final String nombre;

private final int edad;

 

public Persona(String nombre, int edad) {

this.nombre = nombre;

this.edad = edad;

}

public String getNombre() {

return nombre;

}

public void setEdad(int nuevaEdad) {

this.edad = nuevaEdad;

}

}

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