getting command line arguments in java

import java.util.Arrays;
public class A {
public static void main(String[] args){System.out.println(Arrays.toString(args));}
}

OUTPUT

Drop your doubts as comments here......
Share on Google Plus
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment