Question d’entretien chez Helical IT Solutions

how to define thread in java?

Réponses aux questions d'entretien

Utilisateur anonyme

14 nov. 2016

Implement Linklist in java.

1

Utilisateur anonyme

3 nov. 2019

A thread, in the context of Java, is the path followed when executing a program. All Java programs have at least one thread, known as the main thread, which is created by the Java Virtual Machine (JVM) at the program’s start, when the main() method is invoked with the main thread. In Java, creating a thread is accomplished by implementing an interface and extending a class. Every Java thread is created and controlled by the java.lang.Thread class.