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 06:00
Write a program that uses a widgetviewer object to do the following: generate two random integers between 1 and 9 (inclusive). name one of them x, the other y. display them to the user using jlabel objects. create a jlabel object displaying the text "enter an operation number." create a jtextfield for the user's input. create a jbutton displaying the text "press here when you've entered your operation." use addandwait to add it to the widgetviewer object. when the user clicks the jbutton, evaluate operation in the following order to determine the one and only mathematical operation to perform on x and y. use a jlabel to display the result. if operation is between 1 and 10 inclusive, add x and y. if operation is evenly divisible by 4, subtract y from x. if operation is evenly divisible by 5, use integer division to divide y into x. if operation is an even number, use floating point division to divide y into x. if none of the other tests on operation apply, multiply x and y. note: operation can be negative or zero.
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
1. which of the following statements are true about routers and routing on the internet. choose two answers. a. protocols ensure that a single path between two computers is established before sending packets over it. b. routers are hierarchical and the "root" router is responsible for communicating to sub-routers the best paths for them to route internet traffic. c. a packet traveling between two computers on the internet may be rerouted many times along the way or even lost or "dropped". d. routers act independently and route packets as they see fit.
Answers: 2
question
Computers and Technology, 23.06.2019 21:20
For positive constants a and b, the force between two atoms in a molecule is given f(r) = −a r2 + b r3 , where r > 0 is the distance between the atoms. note: a and b are upper case letters. (a) find f '(r) = (b) find the critical point for f(r). r = (c) find f ''(r) = (d) find the value of r so that f ''(r) = 0.
Answers: 1
question
Computers and Technology, 25.06.2019 02:30
What are the charges for invasion of privacy on computers
Answers: 1
You know the right answer?
0points create a netbeans project called csc145-2019fall-exam 1-part 2—lastname firstname 2. 5 point...
Questions
Questions on the website: 13722361