- SeniorCitizen - Class in studenttuition
-
The SeniorCitizen class definition which manages student tuition field.
- SeniorCitizen() - Constructor for class studenttuition.SeniorCitizen
-
Constructor sets default values for student first and last name fields.
- SeniorCitizen(String, String) - Constructor for class studenttuition.SeniorCitizen
-
Explicit call to superclass Student constructor sets initial values for
the student first name, last name, grade and credits fields.
- setCounty(String) - Method in class studenttuition.NYStateResident
-
Updates the student's county of residence in New York State.
- setCredits(int) - Method in class studenttuition.Student
-
Sets value for the student's credits field which must not be negative.
- setFirstName(String) - Method in class studenttuition.Student
-
Sets value for student first name field.
- setGrade(String) - Method in class studenttuition.Student
-
Sets value for student grade field which must be from the list
A, B+, B, C+, C, D+, D or F.
- setLastName(String) - Method in class studenttuition.Student
-
Sets value for student last name field.
- setState(String) - Method in class studenttuition.NonResident
-
Passes the state location parameter to the setState(String) method of the
state object field for validation.
- setState(String) - Method in class studenttuition.ValidState
-
Sets value for state abbreviation field which must be from the list
of 50 valid state abbreviations or the District of Columbia (DC).
- Student - Class in studenttuition
-
The Student class definition which manages student first name, last name,
grade and credits fields.
- Student(String, String, String, int) - Constructor for class studenttuition.Student
-
Constructor sets initial values for student first name, last name,
grade and credits fields.
- studenttuition - package studenttuition
-
- StudentTuition - Class in studenttuition
-
Tests the Student class and demonstrates polymorphism and subtyping with
classes SuffolkResident, NYStateResident, NonResident and SeniorCitizen.
- StudentTuition() - Constructor for class studenttuition.StudentTuition
-
- SuffolkResident - Class in studenttuition
-
The SuffolkResident class definition which manages student tuition field.
- SuffolkResident() - Constructor for class studenttuition.SuffolkResident
-
Constructor sets default values for student first name, last name,
grade and credits fields.
- SuffolkResident(String, String, String, int) - Constructor for class studenttuition.SuffolkResident
-
Explicit call to superclass constructor Student sets initial values
for the student first name, last name, grade and credits fields.