Question: Student GradesGiven the Student Class, do the following:Steps: Create private fields for String firstName, String lastName, and double gradePercentage Declare Mutators and Accessors for each
Student GradesGiven the Student Class, do the following:Steps:
Create private fields for String firstName, String lastName, and double gradePercentage
Declare Mutators and Accessors for each Setters and Getters
Create a public method called describeto print the following:"Student:
this.firstName this.lastName
Grade Percentage: this.gradePercentage
import java.io;
import java.util.;
import java.text.;
public class CodingQuestion
public static class Student
Write your code here
end of Student Class
DO NOT CHANGE THE CODE BELOW THIS LINE
public static void mainString args
Scanner in new ScannerSystemin;
String firstName innextLine;
String lastName innextLine;
double gradePercentage innextDouble;
Student student new Student;
student.setFirstNamefirstName;
student.setLastNamelastName;
student.setGradePercentagegradePercentage;
second way to get student information:
student.describe;
end of main
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
