Skip to content
Snippets Groups Projects
Commit a7959fcd authored by Ethan Robert's avatar Ethan Robert
Browse files

Added UseYearGroup fonctionnality

parent 07503b30
No related branches found
No related tags found
No related merge requests found
package tp04;
public class UseYearGroup {
public static void main (String[] args) {
YearGroup yg = new YearGroup();
yg.addStudent(new StudentAbs("Alice", "A.", 18, 2));
yg.addStudent(new StudentAbs("Bob", "B.", 3, 2));
yg.addStudent(new StudentAbs("Carlos", "C.", 6, 18));
yg.addStudent(new StudentAbs("Dimitri", "D.", 4, 19));
yg.validation();
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment