Name the method to find, if a thread is active or not?

Answers were Sorted based on User's Feedback



Name the method to find, if a thread is active or not?..

Answer / ranganathkini

The method isAlive() of the java.lang.Thread can be used to
know if a thread is active or not.

Is This Answer Correct ?    10 Yes 0 No

Name the method to find, if a thread is active or not?..

Answer / devarathnam c,kotagudibanda(po

Hi... u can use "public void isActive();"method in the
Thread class

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Advanced Java Interview Questions

which deployment descriptor element is used to configure the authentication method? a. auth-config b. login-config c. sec-config

1 Answers  


difference between Abstract and Interface?

2 Answers   HCL, Infotech,


Are we allowed to change the transaction isolation property in middle of a transaction?

0 Answers  


What are the diff types of exception?

0 Answers  


What are Benefits of Connection Pooling?

2 Answers  






What are synchronized methods and synchronized statements?

2 Answers   Adobe,


What is meant by multi-threading?

6 Answers  


How to send a request to garbage collector?

3 Answers  


Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.

4 Answers   HeadStrong,


What is the difference between the font and fontmetrics classes?

0 Answers  


How do you set security in applets?

1 Answers   IBM,


What is the use of Class.forName

20 Answers   HCL,


Categories