Interviewer And Interviewee Guide

Java Multi-Threading Interview Question:

What are the methods of the thread class used to schedule the threads?

Submitted by: Administrator
The methods of the thread class used to schedule the threads are as follows:

-public final void join() throws InterruptedException
-public final void notify()
-public final void notifyAll()
-public static void yield()
-public final void setPriority(int priority)
-public static void sleep(long millis) throws InterruptedException
-public final void wait() throws InterruptedException
Submitted by: Administrator

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