Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > JAVA Technologies
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 16-02-06, 06:44 AM   #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 koneru9999 has disabled reputation


hi friends,


please answer this question.


Will the java compilers compile the java classes that are not having main() method?
__________________
k.v.chowdary
koneru9999 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16-02-06, 08:10 AM   #2 (permalink)
Senior Member
 
meenakshisekar's Avatar
 
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 meenakshisekar has disabled reputation


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
meenakshisekar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16-02-06, 09:53 AM   #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 sowmya571 has disabled reputation
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!
sowmya571 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 16-02-06, 11:34 AM   #4 (permalink)
Member
 
Join Date: Feb 2006
Location: India
Posts: 45
Thanks: 0
Thanked 2 Times in 2 Posts
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 3 solletilakshmi has disabled reputation





Yes the java compiler will be able to compile the classes without main() the examples for this are APPLETS,SERVLETS,STRUTS.





solletilakshmi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +6.5. The time now is 03:17 AM.





Search Engine Optimization by vBSEO 3.1.0