java class must contain a method called main() with this signature:
public static void main(String[] args){}
The argument to main() is an array of String objects. The java compiler insists that they be there because they hold the arguments from the command line.
for example:
javac welcome.java
java args'data welcome
"args'data" will be transformed into the String[] args.