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 14-06-07, 03:09 PM   #1 (permalink)
TAM
Senior Member
 
TAM's Avatar
 
Join Date: Oct 2006
Location: Mayiladurai (TN)
Posts: 233
Thanks: 8
Thanked 7 Times in 5 Posts
Thanks: 8
Thanked 7 Times in 5 Posts
Rep Power: 5 TAM is on a distinguished road
A java Program Without main() function

class Hello
{
static
{
System.out.println("Hello World");
System.exit(0);
}
}
TAM is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20-06-07, 01:23 PM   #2 (permalink)
Member
 
deepesh's Avatar
 
Join Date: May 2007
Location: Bangalore
Posts: 37
Thanks: 1
Thanked 0 Times in 0 Posts
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 2 deepesh is on a distinguished road
Re: A java Program Without main() function

ya it will work fine but if you remove System.exit(0) then it will give an error for a main method......
__________________
Thanks & Regards,

Deepesh
The Language of Friendship is not Words but Meanings....
deepesh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20-06-07, 02:31 PM   #3 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2 rakeshg is on a distinguished road
Re: A java Program Without main() function

hai
rakeshg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20-06-07, 02:32 PM   #4 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2 rakeshg is on a distinguished road
Re: A java Program Without main() function

if any fresher job in chennai just made a post to me
rakeshg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 20-06-07, 02:33 PM   #5 (permalink)
Junior Member
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2 rakeshg is on a distinguished road
Re: A java Program Without main() function

if any whats the difference betwwen vita And lista just tell to me
rakeshg 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
JAVA WEB SITES yathish JAVA Technologies 2 20-11-08 12:11 AM
Practice Question in JAVA sowmya571 JAVA Technologies 8 15-02-08 08:09 PM
TCS Pacement paper 29 sridhar TCS Placement Papers 0 12-02-07 05:43 PM
C language - Is it possible to execute code even after the program exits the main() function? GEEK ds. c , c++ Interview / Technical Questions 0 23-01-07 01:19 PM
C language - Is it possible to execute code even after the program exits the main() function? GEEK ds. c , c++ Interview / Technical Questions 0 23-01-07 01:18 PM


All times are GMT +6.5. The time now is 08:27 PM.





Search Engine Optimization by vBSEO 3.1.0