Re: Create Thread...



yffaria wrote:
Its possible create a class extended by thread and in this class, to
instance other class extended by thread too?

What problems I found when I do that?

How to create more functions of thread class in class extended by
threads?

You can't insert a class into the inheritance hierarchy after the fact. You could do that in Ruby though...

You can either implement Runnable and let all other Runnables inherit that or inherit Thread and make your thread classes inherit that.

Regards

robert
.