ClassCastException
:
Object x = Integer.valueOf(0); System.out.println((String)x);
Modifier and Type | Field and Description |
---|---|
private static final long |
Access | Constructor and Description |
---|---|
public | |
public | ClassCastException(String
the detail message. s)Constructs a |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides java. |
ClassCastException | back to summary |
---|---|
public ClassCastException() Constructs a |
ClassCastException | back to summary |
---|---|
public ClassCastException(String s) Constructs a
|