+ 9

Let's talk. When a beginner always a beginner! 😊

public static void main (String [ ] args) { The first day i saw "args" I thought it was short for "arguments" until i realised it's short for "array of strings". No worry i had just started. Who else thought so? Or what is your version of this or better still, your memorable beginner experience?🙋

24th Jan 2017, 8:31 AM
Danstan Ongubo
Danstan Ongubo - avatar
3 odpowiedzi
+ 9
😶😶 Thank you, I wouldn't have known what args is actually short for. Till a moment ago, even I had false info that it is short for arguments.😮
24th Jan 2017, 3:35 PM
Saumya
Saumya - avatar
+ 6
Thank you even I considered it arguments😅
29th Jul 2018, 1:55 PM
$hardul B
$hardul B - avatar
+ 1
I think that "String[ ]" stays for array of strings and "args" (even though being the name of the array of Strings) stays for arguments. As this array of strings contains the eventual arguments you pass to the main upon launching the program.
24th Jan 2017, 6:35 PM
seamiki
seamiki - avatar