Threads in Java A sequence or flow of execution in a Java program is called Thread. Threads are also known as lightweight process as they share the same data and process address space. by Overview of Threads hread. light weight processes, as they share the same data and process address space. Thread Priorities Every thread has a priority based on which it gets preference for execution. Threads can have priorities ranging from [1…10]. Thread class for specifying the thread priority: java.lang.Thread.MIN_PRIORITY = 1 fixed priority scheduling algorithm. Threads with higher priority generally (but this is not guaranteed) execute before threads with lower priority.