L
Laura Stern
Guest
Ah yes. Whew! And I see that I contradicted myself! The CAST should not make the compilation fail - especially when the type is an interface - since we of course won't know what that type is at runtime. And that is the point of doing the cast - to tell the compiler to shut up and let you do this because you claim to know what you're doing!
Continue reading...
Continue reading...