English, asked by nikamshweta165, 5 months ago

Review the code given below. There is a missing code which need to
beled in =>
class Xmplements Runnable
public static void main(String args[])
Missing code?
public void rund) 0
Whion of the following line of code is suitable to start a thread ?
Thread t = new Thread X), t.start();
2 run = new X) Thread t = new Thread(run); t.start();
1 Thread t = new Thread()
4 Thread is new Thread); x run();​

Answers

Answered by bhabeshbhuyan020
0

Answer:

Review the code given below. There is a missing code which need to

beled in =>

class Xmplements Runnable

public static void main(String args[])

Missing code?

public void rund) 0

Whion of the following line of code is suitable to start a thread ?

Thread t = new Thread X), t.start();

2 run = new X) Thread t = new Thread(run); t.start();

1 Thread t = new Thread()

4 Thread is new Thread); x run();

Explanation:

Review the code given below. There is a missing code which need to

beled in =>

class Xmplements Runnable

public static void main(String args[])

Missing code?

public void rund) 0

Whion of the following line of code is suitable to start a thread ?

Thread t = new Thread X), t.start();

2 run = new X) Thread t = new Thread(run); t.start();

1 Thread t = new Thread()

4 Thread is new Thread); x run();

Similar questions