Question: Create a Java class with the below attributes. Create a class called Student that has the following attributes: Student String - FirstName String - LastName
Create a Java class with the below attributes. Create a class called Student that has the following attributes:
| Student |
| String - FirstName |
| String - LastName |
| String - Major |
| String - Minor |
| Integer - UIN |
| Double - GPA |
| Student() |
| Student(FirstName, LastName, Major, Minor, UIN, GPA) |
| getFirstName() - String |
| setFirstName(String) - void |
| getLastName() - String |
| setLastName(String) - void |
| getMajor() - String |
| setMajor(String) - void |
| getMinor() - String |
| setMinor(String) - void |
| getUIN() - Integer |
| setUIN(Integer) - void |
| getGPA() - Double |
| setGPA(Double) - void |
| toString() - String |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
