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 the difference in between cpp and java? Can u explain in detail?
What happens when a thread cannot acquire a lock on an object in java programming?
Is overriding possible in java?
Why is string buffer better than string ?
How do you test a method for an exception using junit?
Explain runtime exceptions?
What are the access modifiers in java?
What is externalizable?
Is java type safe?
Why does java doesnt suuport unsigned values?
What is listnode in java?
How many types of array are there?
What is yield () in java?
What is json parser in java?
What classes of exceptions may be caught by a catch clause in java programming?