Question: You are required to complete a partially written Java class that is expected to represent an AssignPlan. Your expected tasks are : 1. Create accessor

You are required to complete a partially written Java class that is expected to represent an AssignPlan. Your expected tasks are : 1. Create accessor methods for the private variables numAssignments, numComplete, totalPoints, hoursAvailable and highestPriorityItem. 2. Create an alternative constructor that accepts and sets numAssignments, numComplete, totalPoints, and highestPriorityItem. 3. Implement a mutator function to set highestPriorityItem. 4. Implement a class to represent an Assignment. a. The Assignment class will privately store information on the name, effort (hours required to complete)(int), the number of resources to be referenced (int), the estimated difficulty(int), and the expected score(double). b. Create a constructor for a Assignment, that accepts the effort, resources and difficulty. c. Create a public method that evaluates and returns the expected score, using the formula below, which was supplied by a well paid consultant. = . ( + ) (Note: Use the PI attribute of the Math class) d. Create accessors for all private variables.

Can you do this please, I have no clue where to start. Are you able to do 1-3?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!