Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

overloading main method

 
Akshayan Venkatesh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,


can main() method be overloaded? ..explain

Thanks in advance
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Every method can be overloaded. But only the one with a String[] argument will be called by the JVM as the entry point.
 
Yuen-Chi Lian
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about telling us what you actually want to achieve and how you want to start the execution?

yc
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic