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 / adminraj
Check executing/running current thread by
currentThread() [Method]
public static Thread currentThread()
Find the currently executing thread.
Returns:
the currently executing thread
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What do you understand by the bean persistent property?
What is the use of default method in interface in java?
What 5 doubled?
What is finally and finalize in java?
Why is a singleton bad?
What is predicate in java?
Can list have duplicates in java?
Can we override data members in java?
What is the driver class?
What is constructor chaining and how is it achieved in java?
Explain methods specific to list interface?
What is the finalize method do?
Is logger a singleton?
What is canonical name in java?
What are the differences between include directive and include action?