摘要: A was an apple pie A是一个苹果(APPLE)派 B bit it B咬了(BIT)一口苹果派 C cut it C切开(CUT)苹果派 D dealt it D来分发(DEALT)苹果派 E eat it E吃了(EAT)一块苹果派 F fought for it F为了一块苹果派而与人打斗(FOUGHT) G got it G得到了(GOT)苹果派 H had it H也分到了(HAD)苹果派 I inspected it I来检查(INSPECTED)苹果派 J jumped for it J为得到了苹果派而欢蹦乱跳(JUMPED) K kept it K保存(KEPT 阅读全文
posted @ 2011-07-29 15:12 阳光银行 阅读(251) 评论(0) 推荐(0)
摘要: IoC (Inverse of Control)DI(Dependency Injection)AOP (aspect oriented progamming)Stacicfactory Method 静态工程方法 也叫简单工厂是由一个工厂对象决定创建出那一种产品类的实例。通常它根据自变量的不同返回不同的类的实例例如去日用品工厂拿东西 工厂直接返回你要的洗发水构成:工厂类角色 在客户端的直接调用下创建产品对象,是一个具体类实现。 抽象产品角色 是一个接口或者是抽象类 例如 日用品 具体产品角色 由工厂创建的对象 洗发水package com.test.simplefactory;public 阅读全文
posted @ 2011-07-26 16:49 阳光银行 阅读(112) 评论(0) 推荐(0)
摘要: 字符串String 集合Collection异常相关exception 设计模式 Design Pattern反射相关 Reflection 相等性 equals hashCode线程相关 Thread多态 Polymorphism数组Array字符串:代码如下String s = new String("abc");String s1 = "abc";String s2 = new String("abc");system.out.println(s == s1);system.out.println(s == s2);system 阅读全文
posted @ 2011-07-26 16:19 阳光银行 阅读(260) 评论(0) 推荐(0)
摘要: A toad saw a frog near the road. He was a fat old frog. He sat and moaned and groaned. The toad said, “Do not moan and groan, Mr. Frog. Hop like me. Hop down the road.” So the frog and the toad went down the road to a big oak tree. “I am home,” said the toad. “Come in and I will make tea.” But Mr. F 阅读全文
posted @ 2011-07-25 15:04 阳光银行 阅读(192) 评论(0) 推荐(0)
摘要: 2 A Teenager's Joke: Guidelines for Doing SchoolworkMy school had a policy about homework. Students should not spend more than ninety minutes per night doing homework. This is how I use the time for my work. Fifteen minutes looking for assignment; Eleven minutes calling a friend for the assignme 阅读全文
posted @ 2011-07-23 18:31 阳光银行 阅读(200) 评论(0) 推荐(0)
摘要: 1 Chinese New YearChinese New Year is the most important festival for Chinese people all over the world. It is also called the Spring Festival or the Lunar New Year. The exact date of the Spring Festival on the Western calendar changes from year to year. However, Chinese New Year takes place between 阅读全文
posted @ 2011-07-22 19:30 阳光银行 阅读(166) 评论(0) 推荐(0)
摘要: cassis ou dos-d'ane une résidence d'accueilchausséechaussée rétréciegravillonsbouebouchonbarrerdéviationaffectationitinéraireobstaclejalonnementconiquepiquets mobilesbarragecréneauJe ne m'en fais pas pour çasemblableendurancel'adversairear 阅读全文
posted @ 2011-07-22 16:18 阳光银行 阅读(111) 评论(0) 推荐(0)
摘要: use studentmanagerselect * from carddrop table cardcreate table card (cid int identity primary key,cpassword varchar(20))insert into card values('idfjfdi234')insert into card values('dfiejf245j')insert into card values('diodkj0w3d')insert into card values('23redfdgfo' 阅读全文
posted @ 2011-07-22 16:08 阳光银行 阅读(220) 评论(0) 推荐(0)
摘要: /*例3-1 创建数据库表。*//*程序清单如下:*//*下面的例子将创建表S。*/CREATE TABLE S( sno char(10) NOT NULL /*学号字段*/ CONSTRAINT PK_sno PRIMARY KEY CLUSTERED/*主键约束*/ CHECK (sno like '31300501[0-9][0-9]')/*检查约束*/, sname char(8) NULL, /*姓名字段*/ sex char(2) NULL, /*性别字段*/ age int NULL, /*年龄字段*/ dept varchar(20) NULL/*系别字段*/ 阅读全文
posted @ 2011-07-21 20:24 阳光银行 阅读(325) 评论(0) 推荐(0)