File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Casting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Casting" Watch "Casting" New topic


D Singh

Joined: May 23, 2003
Posts: 10
I would like to get a good grasp on casting for example from an interface to a class or from an array element to an interface etc. Could someone please let me know of a good tutorial or clarify my doubts.
Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
That would have to be How my Dog Learned Plymorphism

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Marlene Miller
Ranch Hand

Joined: Mar 05, 2003
Posts: 1391
I learned about casting from JLS 5.1, especially the sections on widening and narrowing reference conversions.
subject: Casting
jQuery in Action, 3rd edition