1. Convert the UML diagram to code by creating Circle.jave class 2. In circleAreaDemo class, call the setRadius to set the radius to 10.0 3. In circleAreaDemo class, call getArea meshod to print the area A=Pl * f " f 4. Creale new method called getVolume, V=4/3Pl * r∗r∗p 5. Call getVolume method from the circleAreaDemo class to print the Volume of the sphere. circleAreaDemo.jpg circleAreaDemo.java When finished, make sure fo dick Submit. Optionally, click Save as Droft to save changes and continue warking later, or click Concel to quét withouf saiving
public class circleAreaDemo public static void main(String[] args) \{
1. Convert the UML diagram to code by creating Circle.jave class 2. In circleAreaDemo class, call the setRadius to set t
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. Convert the UML diagram to code by creating Circle.jave class 2. In circleAreaDemo class, call the setRadius to set t
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!