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 are the application of compiler and interpreter for source program
How do you override a variable in java?
What is the default value of the local variables?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?
can you create interface instance ?
Describe the term diamond problem.
What are the differences between processes and threads?
How do you sort words in java?
In how many ways we can do exception handling in java?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?