Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  Md.java
Language: JAVA
Code:
class Md extends Thread
{
public void start()
{

super.start();
System.out.println("start() method");
}
public void run()
{
System.out.println("run method");
}
}
class ThreadDemo
{
public static void main(String arg[])
{
Md t = new Md();
t.start();
System.out.println("main method");
}
}          
Comments: