I want to run my thread 24/7..is it possible???
generally we give Thread.sleep(900000000);like wise
what is the value of 900000000 in this???
Printable View
I want to run my thread 24/7..is it possible???
generally we give Thread.sleep(900000000);like wise
what is the value of 900000000 in this???
Thread.sleep takes time in milliseconds. So calculate it
sanjeev
what about 24/7??
What is problem with this....??
your thread will run until or unless any interruption occur.
You need not to specify any time for running 24/7
sanjeev
i got my answer
thread.start();
is the solution ..thanks for ur valuable time...