upcasting : Java Glossary

Doing a cast from a derived class to a more general base class. The cast is nugatory, which is the 50 cent way of saying it is not necessary but it won’t hurt, e. g. Dog d = (Dog) aDalmatian; Most people will stare blankly at you if you use the word upcast. Just use cast. The official term used in the JLS (Java Language Specification) for an implied upcast is widening reference conversion.

CMP homejump to top

available on the web at:


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

Please the feedback from other visitors, or your own feedback about the site.
Your face IP:[]
You are visitor number 30,931.