What is waiting state? In what ways a thread can enter into
waiting state?

Answer Posted / anonymous

2 ways.
wait( time ---);
sleep();

Is This Answer Correct ?    6 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by Socket Programming?

554


Name three subclasses of the component class?

621


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2562


What is the difference between the session.update() method and the session.lock() method?

562


Why is string immutable in java?

584






What you mean by COM and DCOM?

621


What is the difference between static and non-static with examples?

1364


Do I have to use jsps with my application?

587


What value does read() return when it has reached the end of a file?

556


What is glasgow?

591


Can I import same package/class twice? Will the jvm load the package twice at runtime?

649


What is the purpose of the notify() method?

602


What is ioc concept?

697


What class is used to create Server side object ?

1676


Why is actionform a base class rather than an interface?

574