Skip to content

Instantly share code, notes, and snippets.

@AyatKhraisat
Last active October 17, 2018 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AyatKhraisat/1121bfb5a5fedc576c4fd0c91f2c0b3d to your computer and use it in GitHub Desktop.
Save AyatKhraisat/1121bfb5a5fedc576c4fd0c91f2c0b3d to your computer and use it in GitHub Desktop.
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