Question 2 Write a Java program that declares and initializes one double variable, radius (r) of a
sphere, and calculates the volume using given formula below. (You should define as a constant
of value 3,14 .).
Question 2 Write a Java program that declares and initializes one dou.pdf
1. Question 2 Write a Java program that declares and initializes one double variable, radius (r) of a
sphere, and calculates the volume using given formula below. (You should define as a constant
of value 3,14 .)