Copyright  © – Sudharsan Iyengar and Winona State University

 

CS – 234.                    Instantiable Class                   Lab 3               9/30/24

 

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.