This is in Java
1. Create an application called registrar that has the followingclasses:
a. A student class that minimally stores the following datafields for a student:
Name
Student id number
Number of credits
Total grade pointsearned
And this class should also be provides the followingmethods:
A constructor that initializes the name and id fields
A method that returns the student name field
A method that returns the student ID field
Methods to set and retrieve the total number of credits
Methods to set and retrieve the total number of grade pointsearned.
A method that returns the GPA (grade points divided bycredits)
b. An
PayPal Gateway not configured
PayPal Gateway not configured