Answered step by step
Verified Expert Solution
Question
1 Approved Answer
must use eclipse Objectives: Practice creating classes with method stubs based on a given class diagram. Preparation: Install the latest version of Eclipse on your
must use eclipse
Objectives: Practice creating classes with method stubs based on a given class diagram. Preparation: Install the latest version of Eclipse on your computer. Instructions: 1. Read and understand the following design on page 2 2. Implement the design with method stubs ONLY. Hints: a. What packages are there? Do you need to implement all of them? b. For each class, is it a regular class, a super class, or an interface? c. For an entity (attribute or method), what is its visibility? d Abstract methods are italicized. This is something we have not discussed yet. But the good news is methods in interfaces are made abstract by default) For an entity, is it a static or non-static method? f e. For an attribute, is it a final variable? g. For a method, what argument(s) does it take? What is its return type? Grading Rubrics: a. Your code shall compile and run. (10 points) b. The overall structure of your code is correct, in the package view. (10 points) c. The implementation of each class is correct. (10 * 9 -90 points) ava lang O :grading Grade compareTolother grading Grade): Sring D grading Grade avalang Sring java lang Double key : java lang String, vailue: java lang Double) (exceptions BegalAgumentException) java lang Sting : java lang Double Stringo:valang Sring eInterfaces> String, grades: java.ut List grading Grade) : grading,Grade fexoeptions Siz0Exception) applyigrades : java.ut Listgrading. Grade) jova uo Listkgade> (exceptions 5izeException) ava.utl Mapejava lang String java lang Doubles edTotalS trategy) boolean otalS trategy(weights:javautil Mapcjava lang String. javalang Double iterlshouldDroplowest:boole an, shoudoropHighest:boole an) TotalstStep 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