Let's talk. When a beginner always a beginner! ๐Ÿ˜Š | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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