上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: 原文: A card from Jimmy Read Jimmy's card to me please,Penny. I have just arrive in Scotland and I'm staying at a Youth Hostel. Eh? He says he has just 阅读全文
posted @ 2019-04-14 09:12 张玉昊 阅读(145) 评论(0) 推荐(0) 编辑
摘要: final关键之代表最终,不可变的。 用法: 1、修饰类 2、修饰方法 3、修饰局部变量。 4、修饰成员变量。 修饰类: 不能有任何子类。(太监类) 修饰方法: 不能被重写。 修饰局部变量: 不可被修改。 不可变: 值类型:值不可变。 引用类型:地址不可变,但指向的值可以修改。 修饰成员变量: 阅读全文
posted @ 2019-04-13 17:30 张玉昊 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 多态中访问成员变量的方式: 1、直接通过对象. ,=左边是谁,就先访问谁,没有就向上找。 2、间接通过成员方法访问,该方法属于谁,就优先用谁,没有则向上找。 多态中访问成员方法的方式: 看new的是谁,就优先用谁,没有就向上找。 对象的向上转型: 向上转型一定是安全的,但也有一个弊端,一旦对象转为父 阅读全文
posted @ 2019-04-13 17:14 张玉昊 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Java中接口里可以包含的内容。 Java7:常量,抽象方法。 Java8:默认方法,静态方法。 Java9:私有方法。 默认方法的使用: (可以解决接口升级的问题->比如接口增加了一个抽象方法,实现类就必须都重写) 定义了默认方法,实现类可以不用实现的情况下也能调用。(所以定义默认方法的时候就要实 阅读全文
posted @ 2019-04-13 16:00 张玉昊 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 原文: Ow ! Ow! What's the matter,Andy? l slipped and fell downstairs. Have you hurt yourself? Yes,I have. I think I have hurt my back. Try and stand up. 阅读全文
posted @ 2019-04-13 15:14 张玉昊 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 原文: A small blue case. I left a suitcase on the train to London the other day. Can you describe it ,sir? It is a small blue case and it's got a zip. T 阅读全文
posted @ 2019-04-13 12:46 张玉昊 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 原文: tickets,please。 Two return tickets to London please. What time will the next train leave? At ninety minutes past eight. Which platform? Platform t 阅读全文
posted @ 2019-04-12 13:34 张玉昊 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 原文: our new neighbor。 Nigel is our new next-door neighbor. He is a pilot. He was in the R.A.F. He will fly to New York next month. The month after nex 阅读全文
posted @ 2019-04-11 14:23 张玉昊 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 原文: Poor lan. Has lan sold his house yet? Yes,he has. He sold it last week. Has he moved to his new house yet? No,not yet. He is still here. He is goi 阅读全文
posted @ 2019-04-09 13:43 张玉昊 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 原文: For sale。 A:Good afternoon. I believe that the house is for sale. B:That's right. A:May I have a look at it ,please? B:Yes,of course. Come in. A:H 阅读全文
posted @ 2019-04-07 10:18 张玉昊 阅读(165) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页