Halo java program
Java programming Part 1: Using objects with methods of Student class 1. Write a Student class (without main method) and declare 3 instance variables in this class: a String variable for the first name (firstN), a String variable for the last name (lastN) and an array (Tgrades) of the studentâs exam grades (size =3). 2. Declare a method named createObjectStudent() that fills the student information from the keyboard. 3. Create a constructor in which you can create the array of grades. 4. Declare a method named sumGrades() that computes the sum of the grades and returns the result. 5. Create a method named showStudent() that displays the information of the student S (the first name, the last name and the sum). 6. Declare a Test class with the main method: a. Create an instance S1 of class Student, b. Call the createObjectStudent() method to fill the instance S1, c. Call the sumGrades() method to compute the sum of the student S1, d. Call showStudent() to display the information of this instance. 7. Add a control test for the grades in the createObjectStudent() method in order to enter : a. The first grade between 0 and 30. b. The second grade between 0 and 30. c. The third grade between 0 and 40 https://code.sololearn.com/clqhKc3O4p2p/?ref=app