Computer Science, asked by shivanibgbavikere9, 5 hours ago

class new thread implements Runnable
{
Threadt:
newthread()
{
t = new Thread(this,'My Thread");
t.start();
}
public void run()
{
System.out.println(t.getName());
}
}
class multithreaded_programing
{
public static void main(String args[]).​

Answers

Answered by saimsk098
2

Answer:

◦•●◉✿public static void main✿◉●•◦

Answered by dimplegoyalmathura
1

Answer:

public static is the right answer

Similar questions