question in java??????

Posted by Mohit007kumar00 under JavaScript on 7/26/2010 | Views : 1050 | Status : [Member] | Replies : 1
Hello friends,
Currently i gonne some read about java programming.
I have some problem.
look at the main decleration.
public static void main(String args[]);
1.Why main function is declered static??
2.why command line argument is passed through main function??

mohit cboy hack the world


Responses

Posted by: BangaruBabu on: 7/26/2010 [Member] Starter

Up
0
Down
http://wiki.answers.co/Q/Why_should_main_be_declared_static_and_is_declaring_it_public_and_void_not_sufficient

http://www.codestyle.org/java/faq-CommandLine.shtml

BangaruBabu Pureti
http://bangarubabupureti.spaces.live.com/

Mohit007kumar00, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response