6 years ago in Java Multithreading

What is the name of the thread in output of this program?

class multithreaded_programing {
public static void main(String args[]) {
Thread t = Thread.currentThread();
System.out.println(t.isAlive());
}
}

[A] 0
[B] 1
[C] true
[D] false
Loading...
Next Question

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 200
Correct 5
Incorrect 121
Viewed 74

Answers

Guest
Guest
Muziwandile
Muziwandile - 4 months ago

Muziwandile from Modimolle, South Africa is saying true is correct answer

atish lohade
atish lohade - 9 months ago

atish lohade from Aurangabad, India is saying 1 is correct answer

Didier MUNEZERO
Didier MUNEZERO - 9 months ago

Didier MUNEZERO from Kigali, Rwanda is saying true is correct answer

Bharath
Bharath - 9 months ago

Bharath from Hyderabad, India is saying true is correct answer

shubham adne
shubham adne - 11 months ago

shubham adne from Pune, India is saying true is correct answer

Related Questions

What will happen if two thread of same priority are called to be processed simultaneously?

  • [A] Any one will be executed first lexographically
  • [B] Both of them will be executed simultaneously
  • [C] None of them will be executed
  • [D] It is dependent on the operating system.

Which of these interface is implemented by Thread class?

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

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.