View Single Post
Old 12-12-2005, 02:08 PM  
Linguist
Confirmed User
 
Join Date: Apr 2004
Location: Toronto, ON
Posts: 1,706
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
Linguist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote