| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Feb 2006
Location: India
Posts: 9
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
|
hi friends, please answer this question. Will the java compilers compile the java classes that are not having main() method?
__________________
k.v.chowdary |
|
|
|
|
|
#2 (permalink) |
|
Senior Member
Join Date: Feb 2006
Location: India
Posts: 546
Thanks: 7 Thanked 7 Times in 5 Posts Thanks: 7
Thanked 7 Times in 5 Posts
Rep Power: 8
|
yes java compilers compile programs that don't have main but java interpreter will not be able to find out the method to start execution.
__________________
try try try till u succeed meenakshi
|
|
|
|
|
|
#3 (permalink) |
|
Moderator
Join Date: Feb 2006
Posts: 1,413
Thanks: 0 Thanked 9 Times in 8 Posts Thanks: 0
Thanked 9 Times in 8 Posts
Rep Power: 18
|
hello
yes ya .. for example APPLETS are there right . they dont have main .. no interpreter is involved here .. only compiler will compile the program bye sowmya
__________________
http://livetolead.blogspot.com/ all the best Arise Awake N Stop Not Until Ur Goal Is Reached! |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|