Java Cast

Indicates a type is used to cast an instance to a different type.

class c1 { 
   ... 
} 
class c2 extends c1 { 
   ... 
} 
class c3 { 
   c2 b = new c2(); 
   c1 a = (c1) b;  
}
Reference Kind
Entity Performing Reference
Entity Being Referenced
Java Cast
c3
c1
Java Castby
c1
c3
 

Scientific Toolworks, Inc.
http://www.scitools.com