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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are local interfaces? Describe.

688


How are the elements of a cardlayout organized?

588


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1356


How is a java object message delivered to a non-java client?

569


what is a portable component?

1456






What are the different class loaders used by jvm?

585


Can I map more than one table in a cmp?

586


Why use a datasource when you can directly specify a connection details?

529


what is a non-repeatable read?

1821


What is the diffrence between a local-tx-datasource and a xa-datasource?

569


Do you think that java should have had pointers?

590


What value does readline() return when it has reached the end of a file?

578


Why do I get a duplicate name error when loading a jar file?

538


Difference between DurableSubscription and non- DurableSubscription?

1704


What is metaspace?

538