public class Student extends Person
Modifier and Type | Field and Description |
---|---|
private List<Grade> |
grades |
private static long |
serialVersionUID |
Constructor and Description |
---|
Student() |
Student(long id) |
Student(long id,
String firstName,
String lastName,
List<Grade> grades) |
Modifier and Type | Method and Description |
---|---|
List<Grade> |
getGrades() |
void |
setGrades(List<Grade> grades) |
String |
toString() |
getFirstName, getId, getLastName, setFirstName, setLastName
private static final long serialVersionUID
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.