Possible Duplicate:
What does “String[] args” contain in java?
I want to know the significance of the term written inside the bracket in definition of main function in java i.e.string[] args. What does it mean in public static void main(string[] args)? Is it always necessary to write it?
More over how many engines mysql server has and what is the default engine?
The Java contruct for main() is the equivalent of C’s “void main(int argc, char **argv)”. Java’s main() receives an array of strings, from which one can obtain the length with args.length; no need for argc, the count. It can also be written “String args[]”; both ways specify an array of strings.
The mysql question rightly belongs in another SO question altogether.