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 the difference between hashmap and hashtable? What is an interface?
When does an object becomes eligible for garbage collection in java?
Should a main method be compulsorily declared in all java classes?
How hashmap works in java?
Why java is platform independent? Explain.
Is static a keyword in java?
What is object cloning in Java?
What is type parameter in java?
How to perform quicksort in java?
Can list contain null in java?
Which programming language is most secure?
List down the methods and interfaces of collection class in java.
What is lastindexof in java?
What does java se mean?
Explain the difference between hashmap and hashtable in java?