public void yield() method in thread class causes the currently executing thread object - Core Java
Q. Which method in thread class causes the currently executing thread object to temporarily pause and allow other threads to execute?- Published on 15 Jul 15a. public boolean isAlive()
b. public int getId()
c. public void yield()
d. public boolean isDaemon()
ANSWER: public void yield()