Find the factorial of a nunber (Using command line)
In this program, input will be taken from the command line. So you have to pass the input as command line argument. class Fact { ...
Hello guys, I am Dreek. In this blog, I will post programs in various languages which will be useful for students.
In this program, input will be taken from the command line. So you have to pass the input as command line argument. class Fact { ...
abstract class Person { String name; int age; Person(String name,int age) { this.name=name; this.age=age...
import java.util.*; class SOD { public static void main(String args[]) { Scanner s=new Scanner(System.in); ...