java programes on June 05, 2021 Get link Facebook X Pinterest Email Other Apps Java Programs 1 sum of two no using command line in javapublic class Main{ public static void main(String[] args){ int a,b,c; a=Integer.parseInt(args[0]); b=Integer.parseInt(args[1]); c=a+b; System.out.println("sum="+c); }} Comments
Comments
Post a Comment