Answer Posted / aradhana
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 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
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
When do I need to use reflection feature in java?
What is the maximum size of hashmap in java?
What is difference between fail-fast and fail-safe?
What is __ init __ functions?
Explain methods specific to list interface?
What is a top level class in java?
What is an array length?
How to do encapsulation in java?
What’s a deadlock?
What are the different types of data structures in java?
What is multi level inheritance in java?
What is the difference between method overriding and overloading?
Define max and min heap, also the search time of heap.
When super keyword is used?
Explain the available thread states in a high-level?