sum of two no using command line argument

java question and need the explanation and answer to help me learn.

public class main
public static void main(String[] args)
int x=Integer.parseInt(args[0]);
int y=Integer.parseInt(args[1]);
int sum=x+y;

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *