March 2002
Intermediate to advanced
480 pages
18h 40m
English
ClassCastException
This exception signals an attempt to cast an object to a type that it is not an instance of, or an attempt to cast an object to an interface that it does not implement. This class is the same as its J2SE equivalent, apart from its inability to be serialized.
public class ClassCastException extends RuntimeException {
// Public Constructors
public ClassCastException();
public ClassCastException( String s);
}
Read now
Unlock full access