Computer Science, asked by ramakhowal74, 7 months ago

simple program of creating multiple threads? in java​

Answers

Answered by Chetna3854
1

Answer:

Creating Multiple Threads

class MyThread implements Runnable {

String name;

Thread t;

MyThread String thread){

name = threadname;

t = new Thread(this, name);

System. out. println("New thread: " + t);

t. start();

Explanation:

Hope it was helpful. Mark me as Brainliest.

Similar questions