first commit

This commit is contained in:
2019-08-13 12:23:06 -05:00
commit 916073f43b
337 changed files with 23253 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package Week2.InClassExercise1;
import java.util.ArrayList;
public class Course {
private ArrayList<Section> sections = new ArrayList<>();
private String prefix;
private int courseNumber;
public void display() {
}
@Override
public boolean equals(Object o) {
return false;
}
}

View File

@@ -0,0 +1,8 @@
package Week2.InClassExercise1;
public class Person {
private String name;
}

View File

@@ -0,0 +1,17 @@
package Week2.InClassExercise1;
import java.util.ArrayList;
public class Section {
private ArrayList<Person> students = new ArrayList<>();
private String classroom;
public int numStudents() {
return 0;
}
public void display() {
}
}

View File

@@ -0,0 +1,16 @@
package Week2.InClassExercise1;
import java.util.ArrayList;
public class Student {
private ArrayList<Integer> quizzes = new ArrayList<>();
public double quizAverage() {
return 0.0;
}
public void display(){
}
}

View File

@@ -0,0 +1,10 @@
package Week2.InClassExercise1;
public class Teacher extends Person {
public double salary;
public double calculateTaxes() {
return 0.0;
}
}