Please don't kill me guys I am a total noob to Java as I come from an AS3.0 background.
I noticed that there are no "Functions" in Java, I guess the Java "main" method is the closest thing to a function. The reason I ask this is because when I create a class in Java I noticed that the main method requires a parameter for me to get the Sample program to execute or I get an error when I run the program if the parameter is missing. Here is the following code:
why do I need to have the "String args[]" parameter in the main method in order to output the text if there is no reference to it inside the "main". "String args[]" looks as if I am creating a String variable with a some sort of array link? can someone explain why I need this parameter in the main method in order for the program to execute correctly?