import java.util.Scanner; public class MyClass { public static void main(String args[]) { double r=Double.parseDouble(args[0]); double volume= (4*22*r*r*r)/(3*7); System.out.println("Volume Of Sphere is:" +volume); } }
Input Arguments (args of Main Method)...
Result...
compiled and executed in {{this.executionTime}} second(s)

								
Online execution powered by JDoodle.com
{{this.setLanguage("java", "",".java",true, 0)}}