| Share this post! | Vote this! |
|
Difference between wait and sleep or difference between Sleep and yield in Java are popular core Java interview questions and asked on multi-threading interviews. Out of three Sleep () and Yield () methods are defined in thread class while wait() is defined in Object class, which is another interview question. In this Java tutorial we will learn what is sleep in Java, important points of sleep in java and difference between Wait and sleep in Java.
More...
RECOMMENDED READING
Difference between ArrayList and Vector in Java
Difference between SynchronizedCollection and ConcurrentCollection in Java
Difference between Comparator and Comparable in Java
More...
RECOMMENDED READING
Difference between ArrayList and Vector in Java
Difference between SynchronizedCollection and ConcurrentCollection in Java
Difference between Comparator and Comparable in Java




0 comments:
Post a Comment