This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

override  RSS feed

 
anita dhar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is override will main method will override
 
Peter Chase
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question is not a sentence, but the following may help: "overriding" in FOLDOC.

A method called main() could be overridden, if it was a non-final instance method. However, the static method main(), used as the entry point for Java programs launched with the "java" command, cannot be overridden, because it is static.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!