Is alive and join method in java?



Is alive and join method in java?..

Answer / Amrit Kumar

Yes, both 'alive' (through isAlive() method) and 'join' are related to Java threads. The isAlive() method returns true if the thread is still running, while the join() method waits for a thread to die before continuing with the current code. These methods are part of the Thread class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Default layout of panel and frame?

3 Answers  


What is classes in java?

1 Answers  


What is data structure in java?

1 Answers  


What is the is a and has a relation ship in oops concept in java?

9 Answers   BearingPoint, TCS,


What does flag mean in java?

1 Answers  


What is the SimpleTimeZone class?

1 Answers  


What is a nested structure?

1 Answers  


Is an empty arraylist null?

1 Answers  


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1 Answers  


Features of Java?

4 Answers  


How do you reverse a string in java without using string buffer?

1 Answers  


explain the difference between jdk and jvm?

1 Answers  


Categories