add_student method
- dynamic id,
- dynamic name,
- dynamic choices,
- dynamic specialization,
- dynamic rankingS1,
- dynamic ectsNumber,
- dynamic langLvl,
- dynamic missedHours,
- dynamic comment,
Méthode d’ajout ou de modification des informations d’un étudiant.
Implementation
void add_student(id, name, choices, specialization, rankingS1, ectsNumber,
langLvl, missedHours, comment) {
this.id = id;
this.name = name;
for (int i = 0; i < choices.length; i++) {
this.choices = choices[i];
}
this.specialization = specialization;
this.ranking_s1 = rankingS1;
this.ects_number = ectsNumber;
this.lang_lvl = langLvl;
this.missed_hours = missedHours;
this.comment = comment;
year_departement(specialization);
accepted_school = null;
}