Last active
October 17, 2018 18:39
-
-
Save AyatKhraisat/1121bfb5a5fedc576c4fd0c91f2c0b3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
public class Student { | |
private int id; | |
private String name; | |
private ArrayList<Grade> grades; | |
public Student() { | |
} | |
public int getId() { | |
return id; | |
} | |
public void setId(int id) { | |
this.id = id; | |
} | |
public String getName() { | |
return name; | |
} | |
public void setName(String name) { | |
this.name = name; | |
} | |
public ArrayList<Grade> getGrades() { | |
return grades; | |
} | |
public void setGrades(ArrayList<Grade> grades) { | |
this.grades = grades; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment