In object-oriented programming, downcasting or type refinement is the act of casting a reference of a base class to one of its derived classes. In most programming languages, it is usually possible to check through RTTI whether the type of the referenced object is indeed the one being cast to or a derived type of it, and thus issue an error if it is not the case.
| Property | Value |
| dbpprop:abstract
|
- In object-oriented programming, downcasting or type refinement is the act of casting a reference of a base class to one of its derived classes. In most programming languages, it is usually possible to check through RTTI whether the type of the referenced object is indeed the one being cast to or a derived type of it, and thus issue an error if it is not the case.
|
| dbpprop:hasPhotoCollection
| |
| dbpprop:reference
| |
| rdfs:comment
|
- In object-oriented programming, downcasting or type refinement is the act of casting a reference of a base class to one of its derived classes. In most programming languages, it is usually possible to check through RTTI whether the type of the referenced object is indeed the one being cast to or a derived type of it, and thus issue an error if it is not the case.
|
| rdfs:label
| |
| owl:sameAs
| |
| skos:subject
| |
| foaf:page
| |