Class GradeBook
java.lang.Object
GradeBook
public class GradeBook
- extends java.lang.Object
Field Summary |
(package private) java.lang.String |
fName
|
(package private) java.lang.String |
gradeName
|
(package private) java.util.Scanner |
grades
|
(package private) java.lang.String |
lName
|
(package private) java.util.Scanner |
names
The methods and variable below are to deal with reading from the files
You do not need to alter them |
(package private) java.lang.String |
theGrade
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fName
java.lang.String fName
gradeName
java.lang.String gradeName
grades
java.util.Scanner grades
lName
java.lang.String lName
names
java.util.Scanner names
- The methods and variable below are to deal with reading from the files
You do not need to alter them
theGrade
java.lang.String theGrade
GradeBook
public GradeBook()
findFirstName
public java.lang.String findFirstName()
- Finds the next first name in the list names.txt. You need to call initializeFiles() first.
- Returns:
- the next first name in the list
findGradeName
public java.lang.String findGradeName()
findLastName
public java.lang.String findLastName()
initializeFiles
public void initializeFiles()
theGrade
public int theGrade()