Nithya has to develop an application to find volume of a rectangle. The application should display the volume when the width, height and length of rectangle are
Integer values
Double values
width-integer value, height integer value, length double value
Formula: Volume = Length * Height * Width, or V = L * H * W.
Hint: use method overloading to overload the method volume().
Answers
Answered by
0
Explanation:
Nithya has to develop an application to find volume of a rectangle. The application should display the volume when the width, height and length of rectangle are
Integer values
Double values
width-integer value, height integer value, length double value
Formula: Volume = Length * Height * Width, or V = L * H * W.
Hint: use method overloading to overload the method volume().
Similar questions