subject

Create a class named student. student has fields for an id number, number of credit hours earned, and number of points earned. (for example, many schools compute grade point averages based on a scale of 4, so a three-credit-hour class in which a student earns an a is worth 12 points.) include methods to assign values to all fields. student also has a field for grade point average. include a method to compute the grade point average field by dividing points by credit hours earned. write methods to display the values in each student field. save this class as student. javawrite a class named showstudent that instantiates a student object from the class you created and assigns values to its fields. compute the student grade point average, and then display all the values associated with the student. save the application as showstudent. javacreate a constructor for the student class you created. the constructor should initialize each student's id number to , his or her points earned to 12, and credit hours to 3 (resulting in a grade point average of 4.0). write a program that demonstrates that the constructor works by instantiating an object and displaying the initial values. save the application as showstudent2.java

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 20:30
1. for which of the following are you not required to signal beforehand? a. changing lanes b. speeding up c. stopping
Answers: 2
question
Computers and Technology, 23.06.2019 20:50
3.11.3 quiz: comparing and analyzing function typesquestion 4 of 102 pointswhat can you say about the y-values of the two functions f(x) = 3x2-3 andg(x)=2* - 3?
Answers: 2
question
Computers and Technology, 24.06.2019 05:30
If you combine two cells into one, what action are you performing? a.  adding a new row or column      b.  splitting the cells      c.  removing a new row or column      d.  merging the cells
Answers: 2
question
Computers and Technology, 24.06.2019 05:50
What all vehicles has tesla inc. created over the years
Answers: 3
You know the right answer?
Create a class named student. student has fields for an id number, number of credit hours earned, an...
Questions
question
Mathematics, 02.03.2021 16:10
Questions on the website: 13722363