Question: Student Class Java 4. Student Class Name: Student.java Create a Student class with the following items Attributes (private) First Name Last Name ID (700 Number,
Student Class Java

4. Student Class Name: Student.java Create a Student class with the following items Attributes (private) First Name Last Name ID (700 Number, nine digits including the 700 at the beginning) .Email (Use the Email class. The format of an email address is first letter of first name, an x, first letter of last name, last four digits of ID, and 0, domain is ucmo.edu) .Grades (array of char) Constructors Constructor that allows the names and grades to be set, generate the ID and then the email address using the name and ID Operations (public): toString0 to return a string representation of the Student object in the format: Doe, John (700123456) Emai: jxd34560@ucmo.edu GPA: 3.5 . getGPA0 . Getters for each attribute .Setters for names and grades Add a main method to the Student class that creates a Student object. Display the result of the Student object's toString0 method Example Output: studentl: Doe, John (700123456) Email: jxd34560ucmo.edu GPA: 3.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
