Monday, March 9, 2015

Valid declarations for main() method


1) static public void main(String[] args)
2) public static void main(String... x)
3) static public void main(String bang_a_gong[])

Note: One can overload the main method but cannot override it.

No comments:

Post a Comment

Scrum and Scrum master

Scrum  Scrum is a framework which helps a team to work together.  It is like a rugby team (the scrum name comes from rugby game). Scrum enco...