Hi!
The main() method is essential to all
java programs, that need to be executed (Execution of any java program begins at main()). All predefined methods are declared/defined in some class(eg: concat() in the
String class or drawRect() in the Graphics class).
Now WHERE is the main() method declared/defined? Its not present in the Object class, where I presumed it to be
.
Or is it that the main() method is a user-defined method. If so, why can't we say,
or
.
Could someone, please explain this.
Thanx in advance