Java Multithreading, Concurrency and Parallelism — Part 2

KRISHNA KISHORE V
4 min readJul 3, 2021

Creation and Running a Thread

We have already mentioned in part-1 that a thread is an independent set of instructions that has its own private state. Every Java application has at least one thread named “main” without ourselves creating it. But what does it exactly mean when we say a Java Thread.

Well, a Java Thread is just an instance of a Java Class named Thread.

A thread in Java is just another object of class Thread. This class offers methods to configure and operate on it. A…

--

--

KRISHNA KISHORE V

Full Stack Tech Lead | Software Consultant | Technical Content Writer