Copyright © – Sudharsan Iyengar and Winona State University
CS – 234. Instantiable Class Lab 3 2/4/25
Write an application to request student information and store the student information in a student object. The student object should contain the following:
A string Name A string ID A string TelNum An integer Age A double GPA
Develop a Student class. Write accessor and modifier methods for each of the student information. Also, write the toString method that can be used to print neatly all the student information.
Write the application that prompts the user for the student information, stores it in the student object, and then finally prints the complete student information.
Lab 3 Continued – 2/6/25
Modify the Student class to have a constructor that takes in a line of information – that contains all the information for a student, and parses it to store all the values in the object.
Modify the toString class to return the string that includes
“SUPER” if the student GPA is above 3.5
“Great” if the student GPA is above 3.0
“Well Done” if the student GPA is above 2.5
“Keep working” if the student GPA is above 2.0