Thread States And Thread Priority in Java | Java Tutorial by Vikas Singh Sir

Published: 05 March 2023
on channel: CoDing SeeKho
585
13

In this video, we will learn about Thread States & Thread Priority In Java In Hindi.

A thread in Java at any point in time exists in any one of the following states.

A thread lies only in one of the shown states at any instant:

New
Runnable
Blocked
Waiting
Timed Waiting
Terminated

Priorities in threads is a concept where each thread is having a priority which is in layman’s language
one can say every object is having priority here which is represented by numbers ranging from 1 to 10.

The default priority is set to 5 as excepted.
Minimum priority is set to 1.
Maximum priority is set to 10.

______________________________________________

Want to learn Coding? or want to learn Computer Languages like C, C++, Java, Python, HTML, PHP, etc. then make sure you Subscribe to ‪@codingseekho‬

#codingseekho #coding #java #javaclass #javacode #javaprogramming #javatutorial #javaforbeginners #threadstates #threadpriority


On this page of the site you can watch the video online Thread States And Thread Priority in Java | Java Tutorial by Vikas Singh Sir with a duration of hours minute second in good quality, which was uploaded by the user CoDing SeeKho 05 March 2023, share the link with friends and acquaintances, this video has already been watched 585 times on youtube and it was liked by 13 viewers. Enjoy your viewing!