摘要: Create a simple class. Inside a second class, define a reference to an object ofthe first class. Use lazy initialization to instantiate this object. 1... 阅读全文
posted @ 2015-04-21 20:22 陶修瑕 阅读(176) 评论(0) 推荐(0) 编辑
摘要: If you want the references initialized,you can do it: 1.At the point the objects are defined.This means that they'll always be initialized before the... 阅读全文
posted @ 2015-04-21 17:47 陶修瑕 阅读(189) 评论(0) 推荐(0) 编辑