Interviewer And Interviewee Guide

Java Interview Question:

What is the difference between yielding and sleeping in Java Programming?

Submitted by: Administrator
When a task invokes its yield() method, it returns to the ready state. When a task invokes its sleep() method, it returns to the waiting state.
Submitted by: Administrator

Read Online Java Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.