Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Horse Betting The Road To Absolute Horse Racing 2

Authors: NAKAGAWA,YUKIO

1st Edition

B0CFZN219G, 979-8856410593

More Books

Students also viewed these Databases questions