上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: 原文:Your passports,please. A:Are you Swedish? B:No,we are not. We are Danish. A:Are your friends Danish too? B:No they aren't,they are Norwegian. A:You 阅读全文
posted @ 2019-03-04 13:52 张玉昊 阅读(215) 评论(0) 推荐(0)
摘要: 原文:A new dress. A:What color's your new dress? B:It' green.Come upstairs and see it. A:Thank you. B:Look,here it is. A:That's a nice dress.It's very s 阅读全文
posted @ 2019-03-04 13:29 张玉昊 阅读(163) 评论(0) 推荐(0)
摘要: 原文:Is this your shirt? A:Whose shirt is that? Is this your shirt B? B:NO,sir. It's not my shirt.This is my shirt ,my shirt is blue. A:Is this shirt C' 阅读全文
posted @ 2019-03-04 13:04 张玉昊 阅读(113) 评论(0) 推荐(0)
摘要: 优化: Calculator calculator = GetComputeObject(Operate, Number1, Number2); 阅读全文
posted @ 2019-03-01 17:13 张玉昊 阅读(788) 评论(0) 推荐(1)
摘要: 1、定义:指不同的对象收到相同的消息时,会产生不同的行为,同一个类在不同的场合下表现出不同的行为特征。 比如。 多态的作用:把不同的子类对象都当作父类来看,可以屏蔽不同子类对象之间的差异,写出通用的代码,作出通用的编程,以适应需求的不断变化。 2、实现多态。 虚方法实现方法重写来实现多态。 例子中, 阅读全文
posted @ 2019-03-01 15:48 张玉昊 阅读(646) 评论(0) 推荐(1)
摘要: 原文:Are you a teacher? A:I am a new student ,my name is A. B:Nice to meet you,my name is B. A:Are you French? B:Yes I am,are you French too? A:No I am 阅读全文
posted @ 2019-03-01 13:46 张玉昊 阅读(139) 评论(0) 推荐(0)
摘要: 原文: A:Good morning. B:Good morning,Mr.A. A:This is Miss C. C is a new student.She is Frech. C ,this is D,D is German. D:Nice to meet you. A:And this i 阅读全文
posted @ 2019-03-01 13:30 张玉昊 阅读(195) 评论(0) 推荐(0)
摘要: 原文: A:My coat and my umbrella please?Here is my ticket. B:Thank you sir.Number five.Here is your umbrella and your coat. A:This is not my umbrella. B: 阅读全文
posted @ 2019-02-28 13:46 张玉昊 阅读(139) 评论(0) 推荐(0)
摘要: 原文: lesson 1 Excuse me! Excuse me! Yes? Is this your handbag? Pardon? Is this your handbag? Yes it is.Thank you very much! 知识: Pardon? 原句:I beg your p 阅读全文
posted @ 2019-02-28 13:33 张玉昊 阅读(309) 评论(2) 推荐(0)
摘要: 1、 在静态类中,所包含的所有成员必须是静态的。但不是所有静态成员都必须写在静态类中。 实例成员属于具体的对象,静态成员是属于类的。所以访问静态成员的时候不能通过对象来访问,只能通过类名直接访问:类名.成员名。 实例类中加静态成员:大家都一样的时候可以用,比如银行的利率大家都一样,就可以用静态成员, 阅读全文
posted @ 2019-02-27 11:09 张玉昊 阅读(3604) 评论(0) 推荐(1)
上一页 1 ··· 9 10 11 12 13 14 下一页