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

but if I want check/findout within my program itself
How do I do that ?

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why Java doesn’t support multiple inheritance?

629


What is exception in java?

563


What is the difference between the ">>" and " >>>" operators in java?

503


What is use of static method?

528


What is operator overloading. Is it is supported in java?

514






Write a java program for binary search?

601


What is defined as false sharing in the context of multithreading?

500


Can we have two methods in a class with the same name?

576


What happens if an exception is not handled in a program?

620


Which is faster set or list in java?

522


Can I declare a class as private?

577


Is it possible to specify multiple jndi names when deploying an ejb?

553


What is autoboxing and unboxing?

577


Why do we use return statement?

533


What is boolean law?

509