Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

3,00,000 Jobs Waiting For You

Q.

What is the default priority of a thread in Java?

A 10
B 5
C 3
D 1
Answer & Explanation
Option: [B]

Java threads have a priority. The highest priority of a thread is 10 and lowest priority is 1. The default priority of a java thread is 5.

Your Valuable Comments Please...

Useful Computer Science EBooks