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 is the exact use of Collections?
what is the difference between data migration and production migration.
Which dictionary tables and/or views would you look at to diagnose a locking issue?
How to export your connection information to a file?
What are the tools for Oracle ?
If any one has information regarding interview of NIC (National Informatics Centre),it would be of great help...
What is meant by joins? List out the types of joins.
What the is the diff between local index and global index. give some example.
What is a snapshot in oracle database?
What privilege is needed for a user to query tables in another schema?
What is difference between sid and service name in oracle?
How do you increase the OS limitation for open files (LINUX and/or Solaris)?
What are the components of logical database structure in oracle database?
how to join query for one source type is oracle another source type is sql server ?
How a tablespace is related to data files?