a. Create a CollegeStudent class. The class contains data fields that hold a student's first name, last name, enrollment date, and projected graduation date, using GregorianCalender objects for each date. Provide get() and set() methods for each field. Also provide a constructor that requires first and last names and enrollment date, and sets the projected graduation date to exactly four years after enrollment. Save the class as CollegeStudent.java.
b. Create an interactive application that prompts the user for data for two CollegeStudent objects. Prompt the user for first name, last name, enrollment month, enrollment day, and enrollment year for each CollegeStudent, and then instantiate the objects. Display all the values, including projected graduation dates. Save the application as TestCollegeStudent.java.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.