If a multi threaded Java program has started numerous number
of threads, at any point in time how to know which thread is
currently executing/running ?
Answer Posted / srinivas
by using currentThread() Method ,we can find which thread
is runing
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is a function in programming?
Explain about assignment statement?
Should database connections be singleton?
What does the append?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
What are thread groups?
What is the default value of the local variables?
What are loops in java? What are three types of loops?
What is a variable and constant?
What is the difference between final, finally and finalize()?
What is a return in java?
What is the purpose of a parameter?
What is a databasemetadata?
Garbage collection in java?
Explain methods specific to list interface?