What is Yield() method when we r using this ? tell exactly
Answers were Sorted based on User's Feedback
Answer / naresh kumar
Yield will be called by Thread.Yield() t0 give other
runnable thread a chance to excute...
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / mounika
It causes to pauses the current executing thread for giving
the chance to the remaining waiting threads of same priority.
if there is no waiting threads are All waiting threads
have low priority then the same thread will continue its
execution.
Is This Answer Correct ? | 10 Yes | 0 No |
What is a bubble sort in java?
How to perform selection sort in java?
Difference between arraylist and vector.
Is ++ operator thread-safe in java?
Which sorting algorithm is best in java?
Explain the advantages of packages in java?
Can a private method of a superclass be declared within a subclass?
Explain about the performance aspects of core java?
explain about casting of objects?
Can we create an object of private class?
I have a class which is abstract which contains only the abstract methods. This is similar to an interface. Then, if i have given a choice to choose one of them. Which one i have to choose and why?
how many types of Inheritance?