| Constructor and Description |
|---|
Student(String name,
List<String> classes,
double gpa,
edu.pdx.cs410J.whitlock.Student.Gender gender)
Creates a new
Student |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Main program that parses the command line, creates a
Student, and prints a description of the student to
standard out by invoking its toString method. |
String |
says()
All students say "This class is too much work"
|
String |
toString()
Returns a
String that describes this
Student. |
public Student(String name, List<String> classes, double gpa, edu.pdx.cs410J.whitlock.Student.Gender gender)
Studentname - The student's nameclasses - The names of the classes the student is taking. A student
may take zero or more classes.gpa - The student's grade point averagegender - The student's genderCopyright © 2016 Portland State University. All rights reserved.