Thanks guys for your responses.
I'm still unclear as to why you can cast Interface to Serializable, or since it does not extend it. Is it like Object where all classes inherit from it automatically?
I read this rule from "Complete
Java 2 Certification Guide", pg 121: If the Oldtype is an interface and the Newtype is a final class then the Newtype must implement interface or Serializable.
If someone could perhaps enlighten me on it I would really appreciate it.
cheers,
Yoo-Jin.
[This message has been edited by Yoo-Jin Lee (edited March 15, 2001).]