Quote:
|
Originally Posted by Kard63
Holy fuckin shit how did you find it in that mess?
BTW
In the MAIN definition line of a Java application, what does the word arguments (or args) refer to?
A. command line parameters that are passed into the application when it is invoked
B. the fact that early Java programmers were descended from pirates on the high seas (hence arg, arg, arg)
C. Any method calls nested outside the class definition line
D. Any packages nested outside the application
got an idea ?
|
YYARGGG!!! It's B. the fact that early Java programmers were descended from pirates on the high seas (hence arg, arg, arg)
But no, it's A. Args is an array that holds arguments for the application, and you can name it anything you want (args, yargs, arguments etc)... you can get app's parameters by calling args[0], args[1], etc