Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

>> running from main( )


  • From: marian at centeradv.com (marian@xxxxxxxxxxxxx)
  • Subject: >> running from main( )
  • Date: Sat Nov 12 19:31:05 2005

Someone wrote me the following:


I played around with the codes and found that the
program can be executed and output the same result
even if I:
1, changed "public static void main" to "private
static void main"
2, deleted "public" and only stated "static void main"

Is there any special meaning for "private static void
main"?  I expected there should be some errors
appeared when I tried to compile and run the program. 
However, it went through smoothly. How come?

Thank very much





=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx