I'm assuming - since that looks like valid Java - you know the answer already :D
That's right.
Type: Posts; User: Sean4u
I'm assuming - since that looks like valid Java - you know the answer already :D
That's right.
Yes, like that, but it only works in the special case of the main(String[] argumentsArray) method. When the JVM starts, it takes whatever is on your commandline after the name of the class to load...
Do you ever run java applications from the command line by typing "java MyApplication"? If you don't, this is going to be a tortuous explanation.
Lesson: A Closer Look at the "Hello World!" Application (The Java™ Tutorials > Getting Started)
Read carefully the part about 'signature'. The JVM needs to know whereabouts in your application to...