![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> hi You cannot do downcasting in java. Means, you cannot assign a parent object to child object without doing explicit casting. since Object is the root of all the jdk classes. the Runnble was inherited from the Object some how..so it is not compilling. do it like, it will compile regs
Replies: |
Sponsored Links
|