Robert Jacques Wrote:

> On Wed, 19 Nov 2008 13:26:32 -0500, DF <[EMAIL PROTECTED]> wrote:
> 
> > void main() {
> >     Thread derived = new DerivedThread();
> >     derived.start();
> > }
> 
> The main thread is exiting before the derived thread runs. This works  
> correctly:
>       Thread derived = new DerivedThread();
>       derived.start();
>       derived.wait;

You'll get "Error: hidden method called for Test.DerivedThread" if try to use 
derived.wait.

Reply via email to