Skip to content
Snippets Groups Projects
Commit add536f1 authored by MSAYIF Bassem's avatar MSAYIF Bassem
Browse files

Updated Main Class + Finalization of the Project

parent 8e5f81f5
No related branches found
No related tags found
No related merge requests found
public class Main {
public static void main(String[] args){
Student bassem = new Student("Bassem", "MSAYIF");
Student haiDang = new Student("Hai Dang", "LE");
bassem.addResult("Programmation 2", new Grade(20));
bassem.addResult("Structures discrètes", new Grade(20));
haiDang.addResult("Programmation 2", new Grade(10));
haiDang.addResult("Structures discrètes", new Grade(9.75));
Cohort l2 = new Cohort("L2 Informatique");
l2.addStudent(bassem);
l2.addStudent(haiDang);
l2.printStudentsResults();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment