subject

0points create a netbeans project called csc145-2019fall-exam 1-part 2—lastname firstname 2. 5 points create an interface called measurable. this interface should contain the following methods: • getarea() returns the area of the shape of type double • get circumference() returns the circumference of the shape of type double 3. 35 points create the following classes that implement the measurable interface from above (there is no need to draw these shapes): • triangle • parallelogram • rhombus • rectangle • square • trapezoid • circle 4. 40 points create another class called shapemath that can perform the following services: • adds the area of two shapes and returns a double value • adds the area of three shapes and returns a double value • adds the circumference of two shapes and returns a double value • adds the circumference of three shapes and returns a double value • compares the area of two shapes and returns • 1 if shape 1 is larger than shape 2 • 2 if shape 2 is larger then shape 1 • 0 if shapes 1 and 2 are the same • compares the area of three shapes and returns values 0, 1, 2, 3 - similar to values from above. • compares the circumference of two shapes and returns • 1 if shape 1 is larger than shape 2

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
"it security policy enforcement and monitoring" respond to the following: describe how monitoring worker activities can increase the security within organizations. describe the rationale that managers should use to determine the degree of monitoring that the organization should conduct. explain the extent to which you believe an organization has the right to monitor user actions and traffic. determine the actions organizations can take to mitigate the potential issues associated with monitoring user actions and traffic.
Answers: 3
question
Computers and Technology, 22.06.2019 14:10
Dean wants a quick way to look up staff members by their staff id. in cell q3, nest the existing vlookup function in an iferror function. if the vlookup function returns an error result, the text “invalid staff id” should be displayed by the formula. (hint: you can test that this formula is working by changing the value in cell q2 to 0, but remember to set the value of cell q2 back to 1036 when the testing is complete.)
Answers: 3
question
Computers and Technology, 23.06.2019 02:00
Which of the following is not a source of sustainable raw materials? a) coal mine b) flick of sheep c) cotton plantation d) line forest.
Answers: 2
question
Computers and Technology, 23.06.2019 03:00
Jason, samantha, ravi, sheila, and ankit are preparing for an upcoming marathon. each day of the week, they run a certain number of miles and write them into a notebook. at the end of the week, they would like to know the number of miles run each day, the total miles for the week, and average miles run each day. write a program to them analyze their data. your program must contain parallel arrays: an array to store the names of the runners and a two-dimensional array of five rows and seven columns to store the number of miles run by each runner each day. furthermore, your program must contain at least the following functions: a function to read and store the runners’ names and the numbers of miles run each day; a function to find the total miles run by each runner and the average number of miles run each day; and a function to output the results. (you may assume that the input data is stored in a file and each line of data is in the following form: runnername milesday1 milesday2 milesday3 milesday4 milesday5 milesday6 milesday7.)
Answers: 3
You know the right answer?
0points create a netbeans project called csc145-2019fall-exam 1-part 2—lastname firstname 2. 5 point...
Questions
question
Mathematics, 18.11.2019 03:31
question
Mathematics, 18.11.2019 03:31
Questions on the website: 13722367