downcasting : Java Glossary


downcasting
Doing a cast from a base class to a more specific class. The cast does not convert the object, just asserts it actually is a more specific extended object. e.g. Dalmatian d = (Dalmatian) aDog; Most people will stare blankly at you if you use the word downcast. Just use cast.

This page is posted
on the web at:

http://mindprod.com/jgloss/downcasting.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\downcasting.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.
Blog
IP:[65.110.21.43]
Your face IP:[54.83.233.11]
You are visitor number