Design a java class to overload a function volume() as follows:-
i) void volume( int s) computes the volume of a cube.
ii) void volume(float r) computes the volume of a sphere.
iii) void volume(int l,int b,int h) computes the volume of a cuboid
Please no spam
Answers
Answered by
0
cube volume a*a
a*a
a*b
Explanation:
ऑडियो वीडियो
Similar questions