Student.java 534 Bytes
Newer Older
Michele Fiori's avatar
Michele Fiori committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package students;

import java.util.ArrayList;

public class Student {
    private String name;
    private String surname;
    private int yearOfBirth;
    private Address address;
    private ArrayList<Exam> passedExams;

    public Student(String name, String surname, int yearOfBirth, Address address, ArrayList<Exam> passedExams) {
        this.name = name;
        this.surname = surname;
        this.yearOfBirth = yearOfBirth;
        this.address = address;
        this.passedExams = passedExams;
    }
}