Question: In Java Declare a class called Student whose attributes should be their full name and 3 test scores. Do not use arrays, it is not
In Java Declare a class called Student whose attributes should be their full name and 3 test scores. Do not use arrays, it is not allowed. Define a constructor for class Student that will be used to initialize their full name along with the three scores (all ints). You MUST have the following methods as part of your Student class: All the proper set and get methods. A method calAverage that finds the average of the three scres. A method calHighertst3 hat finds the highest of the three scores. A method Assistanship that outputs a proper message only if the student is qualified for the assistantship. Important note on this method: you have to define this method so that it takes advantage of the already existing methods to find the highest score. Think how this could be the best implementation of available resources i.e. methods. In your driver class, called StudentTest.define a static method calMax2 that finds the highest of two integers. You will be using this method as the following: After you outputted the report* described above, you should output the following menu: Please choose the assignment you would like to know the name of which student made the highest score on Choose option 4 to exit: 1 Test 1 2. Test 2 3. Test 3 4. Exit In order to process user's inquiry, you will display this menu i.e. call this method in main() until the user chooses the Exit option.
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
