CommandLine Arguments

CommandLine Arguments:

Command line arguments are used to read the values from keyboard(pass the values while running of the program)
class Addition
 public static void main(String arr[])

  System.out.println("Before converting "+(arr[0]+arr[1]));
Java Addition 12 12
Before Converting 1212

In the above example addition of two number are concated because commandline arguments are by default strings.To overcome this problem wrapper classes are introduced.
Wrapper class Concept: Click Here