aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Casting" Watch "Casting" New topic
Author

Casting

D Singh
Greenhorn

Joined: May 23, 2003
Posts: 10
Hi,
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.
thanks
Carl Trusiak
Sheriff

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Casting