logo

Crowdly

Votre réponse à la question 4.6 :  Compléter la définition de la classe  Examen...

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

Votre réponse à la question 4.6 : Compléter la définition de la classe Examen qui dérive (hérite) de Activite en complétant :

  • La définition du constructeur;
  • La définition des méthodes ajouter()retirer()consulter()getNombreQuestions() et evaluer().

public class Examen {

    private List<Evaluable> questions;

    public Examen(String titre,String description,List<Evaluable> questions) {

        

    }  

    public void ajouter(Evaluable question) {

        

    }  

    public Evaluable retirer(int indice) {

        

    }  

    public Evaluable consulter(int indice) {

        

    }

    public int getNombreQuestions() {

        

    }

    public double evaluer(List<Reponse> tentative) {

         

    }

}

More questions like this

Want instant access to all verified answers on ena.etsmtl.ca?

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