i thought the program would fail compiling as we can not invoke run()method directly. but it works fine. WHY? I would appreciate if someone explains me. thanks. [ July 29, 2003: Message edited by: Namaste Sathi ]
There's nothing preventing you from calling run: it is delared as public. The Thread class's run method does nothing (unless it was created with a Runnable object); but in your subclass here, it does do something.
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.