摘要:
当集合中存储的对象类型不同时,那么会导致程序在运行的时候的转型异常 出现 Exception in thread "main" java.lang.ClassCastException: cn.nn.Sheep cannot be cast to cn.nn.Tiger at cn.nn.Gener 阅读全文
posted @ 2019-01-17 17:42
林先森_007
阅读(182)
评论(0)
推荐(0)
浙公网安备 33010602011771号