Computer Science, asked by BlackKnight1204, 1 year ago

pls ans fast ...
I will mark u brainliest
Ans through JAVA - BLUE J

Attachments:

Answers

Answered by sanaawesome
2

class Design

{

     double v;

      double volume (double R)

      {

              v=((4/3)*(22/7)*R*R*R);

              return (v);

      }

    double volume (double r, double R)

     {

           v=((22/7)*R*R*r);

            return (v);

      }

double volume (double l, double b , double h)

{

             v=l*b*h;

             return (v);

}

}




Similar questions