PA wrote: > Hmm... not sure if I understand that last part... but one thing is > very clear though... in Javaland, you simply cannot make pigs fly. In (non-evil) Ruby it's not possible either, to transform pigs into birds. > In other words, aFlyingPig = (Bird) aPig will not fly. The compiler > will just segfault laughing while cursing profanities at you. To have some fun at run-time try this: Bird flyingPig = (Bird) (Object) pig; -- Florian Frank