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
What is Java Reflection API? Why it’s so important to have?
What is the difference between array list and vector in java?
What is maximum size of arraylist in java?
What are singleton services?
Can we overload the constructors?
How do you clear an arraylist in java?
What is unicode with example?
What is the constructor?
What is sizeof () operator?
What are the differences between stringbuffer and stringbuilder?
Does treeset use compareto?
What is the meaning of find and replace?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
Is double bigger than float?
can java object be locked down for exclusive use by a given thread? : Java thread