Hi,
Does anyone know of a simple way that I can understand when casting is legal or illegal when it relates to assignment of Classes, Sub-Classes, and intefaces.
I always seem to understand the concept when i read a java book, but when i do an actual question I either get it wrong or sit forever trying to figure it out. Sometimes I get the answer correct, but I still don't feel too comfortable that I understand it.
Is there a website that I can go to that will explain this to me in simple terms. I found a link in this forum that explains bit shifting really well, which uses cats and mice, and now I FINALLY understand how it works.
If I could find a site like this or similar, to explain casting between classes, subclasses and interfaces, it would be really great.
Thanks
Anthea. :roll: