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 / chellammal

Using Java Debugger "jdb" one gets information about
which thread currently executing threads

Is This Answer Correct ?    3 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between collection, collection and collections in java?

568


Which is faster set or list in java?

526


Difference between Linked list and Queue?

602


Difference between method overloading and overriding.

575


How can you handle java exceptions?

523






How many characters is 16 bytes?

531


What is the difference between an array and an array list?

500


Explain importance of throws keyword in java?

560


Can we declare the static variables and methods in an abstract class?

544


Why main method is called first in java?

541


Why you should not use singleton?

536


Is passing by reference faster?

519


Does constructor creates the object ?

578


What do you mean by composition in java?

561


What is equlas() and hashcode() contract in java? Where does it used?

604