I create a thread using
Thread t = new Thread();
t.start();
You start a thread using t.start(); Now how long the thread will be alive? To what state it will go after X (the answer of above question) seconds?
Thread t = new Thread();
t.start();
public void run(){
System.out.println("Threads");
}
What will happen if the thread has run() method?