File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "TIMER CLASS" Watch "TIMER CLASS" New topic


sparsh khandelwal
Ranch Hand

Joined: Dec 20, 2010
Posts: 76

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

Joined: Oct 13, 2005
Posts: 46383
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.
I agree. Here's the link:
subject: TIMER CLASS
It's not a secret anymore!