摘要: 1.for (float x :f ) for循环的简易形式 Exercise for Controlling Execution Exercise1: Exercise2: Exercise4: Exercise6: Exercise9: Exercise10: 阅读全文
posted @ 2019-06-24 21:08 waynr 阅读(94) 评论(0) 推荐(0) 编辑
摘要: Introduction to Objects & Everything is an Objects 1.万物皆对象 2.upcast是安全的 3.downcast不是绝对安全的,SE5之前,由于容器类只能容纳Object,所以当你将一个对象引用丢进容器,这个对象就upcast成Object,丢失了 阅读全文
posted @ 2019-06-24 17:29 waynr 阅读(339) 评论(0) 推荐(0) 编辑