Serializable
public class ClassCastException extends RuntimeException
ClassCastException
Object x = new Integer(0); System.out.println((String)x);
s
© 2021 Oracle Corporation and/or its affiliates