6
answers
1
watching
296
views

 write a program that maintains student records.
The essentials of the program.
1. Create a class that keeps the following data of each student
a) The first and last name of a student
b) The GPA
c) The student identification number (each will be 5 digits long)

2. This class will have 5 methods:
a) A get and set method only for the GPA and ID
b) A method that displays the student information on three lines.

3. There should be a constructor that allows for input of first name and last name only.

4. Create a second class that tests the operation of the other class.

5. Create two objects with the following data
a) Tom Thumb who has a 2.76 GPA and an ID of 35791
b) Snow White who has a GPA of 3.35 and an Id 24680

6. The second class should display the contents of each object.

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in
Already have an account? Log in

Related questions

Related Documents

Weekly leaderboard

Start filling in the gaps now
Log in