Search This Blog

Friday, August 8, 2025

Java Multithreading - 5

 Java is a multithreaded language. Every Java thread has a priority. Every new thread is created with priority equal to the thread that created it. Thread priority plays an important role in the way threads are executed.

Which of the following is the data type of thread priority?

a) double

b) byte

c) long

d) int

e) float


Created by Nancy N.

@22:13 08-Aug-2025 

No comments:

Post a Comment