Java   View all facts   Glossary   Help
mechanism > casting
Next mechanismgarbage collection    Upmechanism    Previous mechanismbinding   

casting
subjectfact 
castinghas definition The process of producing a new value that has a different type than its sourceadded by: JK, source: Teach Yourself Java 2 in 21 Days, 2001-10-19 11:36:17.0
has example
(String)i.next()    
source: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:17.0
has purpose to convert an instance of one data type into another which is a subclass of the original typesource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:17.0
is a subtopic of Objects2001-10-19 11:36:17.0
is a kind of mechanismsource: Object Oriented Software Engineering by Lethbridge and Laganière, 2001-10-19 11:36:17.0

Kinds of casting :