Question: Instructions: Using the Java naming conventions and javadoc comments create the following. You are a software computing company known as inaroundaboutway at www.inaroundaboutway.com Create a

 Instructions: Using the Java naming conventions and javadoc comments create the

Instructions: Using the Java naming conventions and javadoc comments create the following. You are a software computing company known as inaroundaboutway at www.inaroundaboutway.com Create a java package using the above information which holds the following: 1. Interface "circle" includes a constant for PI called "our pi constant", and set and get methods for radius of the circle. Also, calculate the circle's area and perimeter (these 2 methods are NOT ABSTRACT 2. In class "cylinder", we will rely on the methods in the circle interface to help us calculate the surface area and volume of the cylinder. There should be stages/steps in which we print data about the cylinder (see below). The print method we create prints a string consisting of the attribute of the cylinder that is to be printed along with the numerical value of the attribute in question. The print method does NOT belong to an object. Step 1: print the cylinder's height. Step 2: print the cylinder's radius. Step 3: print the underlying circle's area and perimeter given the radius above. Step 4: print the cylinder's surface area. Step 5: print the cylinder's volume. The print message should say the following: Cylinder fattribute) is (value). (Newline x2) print(String attribute, Float value) //print method's signature. All classes and methods should be accompanied by a JavaDoc comment

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!