5 years ago in Java Multithreading

Which function of pre defined class Thread is used to check weather current thread being checked is still running?

[A] isAlive()
[B] Join()
[C] isRunning()
[D] Alive()
Loading...
Next Question

Overall Stats

Attempted 277
Correct 118
Incorrect 51
Viewed 108

Answers

Guest
Guest
Sagar Gawari
Sagar Gawari - 1 month ago

Sagar Gawari from Pune, India is saying isRunning() is correct answer

Vaibhav Bisht
Vaibhav Bisht - 1 month ago

Vaibhav Bisht from Dehradun, India is saying isRunning() is correct answer

Aashi Garg
Aashi Garg - 2 months ago

Aashi Garg from Greater Noida, India is saying isRunning() is correct answer

Hareem Malik
Hareem Malik - 2 months ago

Hareem Malik is saying isRunning() is correct answer

zainb ryad
zainb ryad - 2 months ago

zainb ryad from Jenin, Palestine is saying isAlive() is correct answer

Related Questions

What is multithreaded programming?

  • [A] It's a process in which two different processes run simultaneously.
  • [B] It's a process in which two or more parts of same process run simultaneously.
  • [C] Its a process in which many different process are able to access same information.
  • [D] Its a process in which a single process can access information from many sources.

Which of these class is used to make a thread?

  • [A] String
  • [B] System
  • [C] Thread
  • [D] Runnable

Which of these interface is implemented by Thread class?

  • [A] Runnable
  • [B] Connections
  • [C] Set
  • [D] MapConnections

Thread priority in Java is?

  • [A] Integer
  • [B] Float
  • [C] double
  • [D] long