diff b/w sleep(1000) and wait(1000)?

Answer Posted / satwant singhnagpal

In sleep method the thread does not release the object lock

Is This Answer Correct ?    3 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the new line character?

555


What are constructors in java?

563


Is minecraft java edition free?

576


Why is multiple inheritance not supported in java?

557


Where pragma is used?

594






What is an abstract method in java programming?

603


What does \ mean in regex?

619


What is the range of a character variable?

541


what are the states associated in the thread? : Java thread

591


Is 0 true or is 1 true?

514


What is the integer of 16?

533


define polymorphism in java

632


What are different exception types exceptions available in java ?

473


What is lifetime variable?

521


Why do we use return statement?

536