upcast
upcast Lexical Profile
upcast Game Scores & Validity
• adjective
Directed, turned, or thrown upward (especially of the eyes or face).
"The portrait depicted the saint with upcast eyes and clasped hands."
• noun
An act of throwing, turning, or directing something upward, or a mass of material thrown upward.
"With a sudden upcast of her chin, she walked out of the room."
An operation in object-oriented programming that converts a subclass reference or pointer into a superclass reference.
"In most object-oriented languages, an upcast is always safe and can be performed implicitly by the compiler."
A vertical shaft or passage in a mine through which foul or exhaust air is drawn upward to the surface.
"The engineers installed a high-capacity fan at the top of the upcast to improve mine ventilation."
• verb
To throw, turn, or direct upward.
"He upcast his eyes toward the balcony when he heard the window open."
To convert an object reference from a derived subclass to a base superclass (in object-oriented programming).
"You can upcast the specific button instance to a generic component before adding it to the container."
Word Origin & Etymology
Formed in Middle English from the prefix 'up-' and the verb 'cast' (from Old Norse 'kasta', meaning to throw).