This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes TIMER CLASS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "TIMER CLASS" Watch "TIMER CLASS" New topic
Author

TIMER CLASS

sparsh khandelwal
Ranch Hand

Joined: Dec 20, 2010
Posts: 72
HELLO EVERYONE

while learning about timer class,i found this code(without System.exit(0)) on net.on adding System.exit(0); in the given code,come to know that exit() not working properly;
please help me to make it understand
thanks in advance
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38519
    
  23
Where did you find that code? What do you mean by "not working properly"? What did you expect to happen? Please edit your post to remove the upper-case writing.
 
Consider Paul's rocket mass heater.
 
subject: TIMER CLASS