Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is the difference between sleep and suspend ?
The sleep() method moves the thread to waiting
state for particular time.
for example
Thread.sleep(7000);
but
the suspend() method moves to waiting state until
the resume() method gets called.