Java program to accept command line arguments

Java program to accept command line arguments

Input supplied for this program while running this program:

java CodeRegister Welcome To www.CodeRegister.co.in
        |__________| |______________________________|
                  |                                        |
         Class Name                arguments passed

Output:

Welcome
To
www.CodeRegister.co.in

Implementation: