avoid override run method

Hello ,

suppose i have the following class :

class MyThread implements Runnable {

MyThread() {

new Thread(this).start() ;

}

public void run() {

.........

}

the question how we can avoid any subclass from class MyThread to override run method ? i try to make run method final , static but it doesn't work so pleeease i need help

Thanks for your time

-Nada

[453 byte] By [nadaqam] at [2007-9-26 1:26:38]
# 1
Did you try to make the class final?
DrClap at 2007-6-29 1:09:53 > top of Java-index,Archived Forums,Java Programming...