Skip to content
Snippets Groups Projects
Commit abbc330c authored by RANGHEARD Leo's avatar RANGHEARD Leo
Browse files

update tp4

parent 8927ea4c
Branches
No related tags found
No related merge requests found
Showing
with 32 additions and 15 deletions
File added
File added
File added
File added
......@@ -11,7 +11,6 @@ public class Cohort {
/**
* Constructs a cohort with a name equals to the specified {@code name} and no students.
*
* @param name the name of the constructed Cohort
*/
......@@ -22,7 +21,6 @@ public class Cohort {
/**
* Add the specified {@code student} to the students of the cohort.
*
* @param student the student to be added to the cohort
*/
public void addStudent(Student student){
......@@ -31,7 +29,6 @@ public class Cohort {
/**
* Returns the list of students of the cohort.
*
* @return the list of students of the cohort.
*/
public List<Student> getStudents(){
......@@ -48,7 +45,6 @@ public class Cohort {
for (Student student : students) {
student.printResults();
}
}
private void printName() {
......@@ -57,7 +53,6 @@ public class Cohort {
/**
* Returns the name of the cohort.
*
* @return the name of the cohort
*/
@Override
......
File moved
File moved
......@@ -111,5 +111,4 @@ public class Student {
System.out.println("Note Moyenne = " + this.getAverageGrade().toString());
}
}
File moved
File moved
File moved
File moved
# Default ignored files
/shelf/
/workspace.xml
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_14" project-jdk-name="14" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/tp2.iml" filepath="$PROJECT_DIR$/tp2.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>
\ No newline at end of file
File added
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment