草叶睡蜢

导航

2021年10月18日 #

面向对象基础知识-五、对象序列化

摘要: 五、对象序列化 对象序列化主要解决对象状态(指某一时刻对象所拥有的各个字段/属性值的集合)的保存问题。 5.1 序列化(Serialization) 将对象状态保存到其它媒介(常用媒介有流Stream和字符串String)中的过程称为对象的序列化(Serialization)。 流(Stream)代 阅读全文

posted @ 2021-10-18 16:52 草叶睡蜢 阅读(118) 评论(0) 推荐(0) 编辑

面向对象基础知识-四、对象复制

摘要: 四、对象复制 对象的复制是指把一个现有的对象克隆一份,得到一个新的对象,新老对象是完全独立的。 4.1 对象的浅复制(shallow copy) 使用简单的字段值拷贝方法复制一个对象 4.2 深度复制(Deep Copy) 4.2.1 浅复制的问题 浅复制的问题是无法复制出真正独立的新对象,如下图所 阅读全文

posted @ 2021-10-18 11:45 草叶睡蜢 阅读(99) 评论(0) 推荐(0) 编辑

3.2 Dependencies of the Projects in the Solution 解决方案中项目间的依赖项

摘要: 3.2 Dependencies of the Projects in the Solution 解决方案中项目间的依赖项 The diagram below shows the essential dependencies (project references) between the proj 阅读全文

posted @ 2021-10-18 10:24 草叶睡蜢 阅读(105) 评论(0) 推荐(0) 编辑

英语思维-20210906

摘要: stay inside 待在屋里 a tough guy 硬汉 stand on the top of the mountain 站在山顶 bring sth. into ... 带某东西到某地方 every day 每天 the stupid donkey 蠢驴 cover sb.‘s ears 阅读全文

posted @ 2021-10-18 08:29 草叶睡蜢 阅读(134) 评论(0) 推荐(0) 编辑

英语思维-20210907

摘要: the college student 大学生 math course 数学课 homeless 无家可归 her condition 她的身体状况 financial deficit 亏损,财政赤字 a new pair of shoes 一双新鞋 his pocket money 零花钱 its 阅读全文

posted @ 2021-10-18 08:15 草叶睡蜢 阅读(47) 评论(0) 推荐(0) 编辑

英语思维-20210908

摘要: fashion designer 服装设计师 make clothes 做衣服 the volcano eruption 火山爆发 the chess competition 象棋比赛 doom him to failure 注定失败 my recent photos 我的近照 fall down 阅读全文

posted @ 2021-10-18 08:09 草叶睡蜢 阅读(27) 评论(0) 推荐(0) 编辑