Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
|
|
#1 |
|
Registered User
Join Date: Dec 2006
Posts: 3
|
file name
can someone pls tell me why we always have to save the prog file with the same name as the main class.if i don't i get a strange error message.
|
|
|
|
|
|
|
|
#2 |
|
Registered User
Join Date: Dec 2008
Posts: 26
|
because it java standard
and this tell jvm where main class is as it the entry point of your program |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP code 2 convert .doc file into .pdf file | jeephp | PHP / mySQL | 3 | 09-11-2009 05:21 AM |
| MS 2003 downloading sensitive file types | mat41 | ASP | 0 | 05-07-2006 11:12 PM |
| linking an uploaded file to create a webpage | Pete007 | HTML / DHTML | 1 | 04-19-2006 06:28 AM |
| The robots.txt file: Article Part 2- Optimization | Pannu | Search Engine Optimization | 0 | 05-24-2004 09:00 AM |
| The robots.txt file: Article Part 1 - Introduction | Pannu | Search Engine Optimization | 0 | 05-24-2004 08:54 AM |
Advertise