Object类spa
经常使用方法:clone(),equals(),hashCode()blog
clone():继承
报错缘由:clone()方法的返回值是Object型,然而TestClone继承Object类,因此是大类型转小类型须要强转 hash
报错缘由:undandled exception type CloneNotSupportedException(未处理的异常类型CloneNotSupportedException)io
运行时报错缘由:exception