Write a class named Volume that has two static methods for calculating the volume of cylinder and cube. Compute the volume of a cylinder write a program that reads in the radius and length of a cylinder and computes the area and volume using the following formulas area radius radius 314 volume area length. Volume 40 3 314 5 5 5.
Println The area is area.
Double volume area length. Volume of right circular cylinder Base area x Height As base of cylinder is circular Base Area PR 2. Print Enter the radius and length of a cylinder. The volume of a right circular cylinder is defined as the amount of three dimensional space occupied by the cylinder or the storage capacity of a cylinder.