logo

Crowdly

Dadas las siguientes interfaces correctamente declaradas: public interface ...

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

Dadas las siguientes interfaces correctamente declaradas:

public interface IReunion {

       Integer

numParticipantes();

}

public interface ICelebracion extends

IReunion {

      

String

motivo();

}

indica cómo se deben rellenar los espacios subrayados

(numerados entre corchetes) para que la siguiente declaración sea correcta y

corresponda a un diseño razonable :

public ____[1]_____  Celebracion ____[2]_____  ICelebracion {

       private String motivo;

       public Celebracion(String motivo) { this.motivo = motivo; }

       ____[3]_____ String motivo()   ____[4]_____

}

More questions like this

Want instant access to all verified answers on moodle.uam.es?

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