What is the difference between Sleep and Wait? (Java)
Answer Posted / shaik syed bashs
using sleep method thread will suspended for some time but
using wait() method thread will kept aside for some
time.wait() method is in object class but sleep() is in
thread class
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the predefined tablespaces in a database?
What is set operator oracle?
What is meant by joins? List out the types of joins.
How to write a left outer join with the where clause in oracle?
How can we find out the current date and time in oracle?
How to call a stored function in oracle?
What are the different windows events activated at runtime ?
What is a dynamic performance view in oracle?
How to filter out duplications in the returning rows using oracle?
Explain the use of tables option in exp command.
What is the usage of save points in oracle database?
Is oracle a language?
What is transaction control statement and how many types of transaction control statement in Oracle?
Why use resource manager in Oracle?
What are the roles of dba?