Java help needed, exam at half 3?

Use a Ball class that has instance parameters radius in addition to PI.The constructor for any class should receive a single feedback parameter which sets this radius occasion variable.That class need to include getRadius( ) calculateVolume( ) as well as calculateSurfaceArea( ) solutions.

Size = (4 / 3) * PI * radius * radius * radius
Surface = SOME * PI * radius * radius

If you’ve it done already, please posting the code you’ve and we shall be happy to assist you fix every errors or other issues.

This is actually ridiculously basic.
If you can not do this particular yourself MY PARTNER AND I guess you might fail your exam!

Leave a Reply