+ 2
Why do we write (string []srgs) nearby main?
Also what if I write it as (string [] srgs) or (String[] SRGS). I just want to know what is its significance and are there any alternatives for that?
4 Antworten
+ 5
The String[] args is a way of passing the input to the program. in Java args contains the supplied command-line arguments as an array of String objects.
+ 4
i wrote a small book on java
https://abdurrahmaanjanhangeer.wordpress.com/my-new-book-java-a-presentation/
it is explained in the first pages !
note : more details there !
+ 1
Thanks mate.
+ 1
Passing as in allowing? @P R