public class SimpleThread extends
Thread {
public void run ( ){
System.out.println ( "Executing simple Thread");
}
public void myThread() {
System.out.println ( "Executing myTthread() method");
}
public static void main (
String args [ ]) {
SimpleThread st = new SimpleThread ( );
st.start( );
st.myThread();
}
}
output of this program is::: Executing my thread()
Executing simple thread()
but i expected the output to be:: Executing simple thread()
Executing mythread()
anybody can tell me what im missing..
thanks..
regards.
Jaya Murugan