Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in Java L Write a class called Student 1 The class has 3 Instance variables 1. name a string of the student's full name 2.
in Java
L Write a class called Student 1 The class has 3 Instance variables 1. name a string of the student's full name 2. totalitScore: double 3. numQuizsakenint 2. Constructor 1. Default constructor that sets the instance fields to a default value 2 Parameterized constructor that sets the name instance held to a parameter value and set the other instance beld to a default value. 3. Methods 1.setName-sets or changes the student name by taking in a parameter 2.getName-returns the name of the student 3. antAverageScore calculates and returns the tape quiz score 4 addu 1. takes in a score parametern 1. the score parameter is not within the range of a score o score 100) Display an error message and ignore that score 2. the score parameters within the range it adds that score to total QueScore 3. Increments the numQuirestokenfeld 5. total score returns the total Quirscore 2. Write another class that will test our Student is called Studenter 1. Prompts the over for Student name Hint Scanner exto method 2. Creates a student object with that name 3. Create a loop that 1. Asks user for a quit wore 2. Adds that score to the Student object 3. Ask the user if they are finished entering scores 4. Use the methods of the class to print out the student's name, total score and average quit score in a nicely formatted output where the scom is rounded to 2 decimal placo, rint uso prit 3.Create new student object using the default comtructor 6. Use the appropriate method to set the new Student object's student name 7. Use the appropriate method to print out the new student's name 3. Include lavadoc for all classes, method and instance variables 4. Follow the Minimum Codi Standards for this course Remember to zip up at the member Owly Source Codel and turn them in the propriate assignet. Use the naming convention outlined in the Program Protect Submit instruction Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started