All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----java.lang.ClassCastException
ClassCastException
:
Object x = new Integer(0);
System.out.println((String)x);
ClassCastException
with no detail message.
ClassCastException
with the specified
detail message.
public ClassCastException()
ClassCastException
with no detail message.
public ClassCastException(String s)
ClassCastException
with the specified
detail message.
All Packages Class Hierarchy This Package Previous Next Index