Class GradeBook

java.lang.Object
  extended by 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
           
 
Constructor Summary
GradeBook()
           
 
Method Summary
 java.lang.String findFirstName()
          Finds the next first name in the list names.txt.
 java.lang.String findGradeName()
           
 java.lang.String findLastName()
           
 void initializeFiles()
           
 int theGrade()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

GradeBook

public GradeBook()
Method Detail

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()