2008年6月25日
摘要: 1.提供一个3升和一个5升的水桶,并提供无限多的水,你怎样用它们准确地量出四升和七升的水来呢?? 答:装满3升,倒进5升,再装满3升,倒进5升,倒掉5升,把3升剩余倒进去,再装满3升,倒进5升 装满5升,倒进3升,倒掉3升,把5升里剩余倒进3升,再装满5升 阅读全文
posted @ 2008-06-25 16:49 prayforsmile 阅读(2440) 评论(3) 推荐(0) 编辑
摘要: 一:抽象类与接口的区别(用英文描述) Interface is open to the public, there can not have the private methods and variables.It is used to let others use, but the abstract class can have private methods or private variables.In addition, the realization of the interface must be realized in the interface definition of all methods, and the realization of the abstract 阅读全文
posted @ 2008-06-25 16:38 prayforsmile 阅读(1049) 评论(0) 推荐(0) 编辑
摘要: 数据结构二 阅读全文
posted @ 2008-06-25 16:34 prayforsmile 阅读(566) 评论(0) 推荐(0) 编辑
摘要: 游标的使用: 用sql server游标语句打印报表 DECLARE authors_cursor CURSOR FOR SELECT au_id, au_fname, au_lname 阅读全文
posted @ 2008-06-25 16:25 prayforsmile 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 为了能进微软江西的暑假实训班,猛补了一下数据结构的知识,现在总结一下常考的数据结构的知识吧。 知识点:1链表 2二叉树 3排序 4查找 阅读全文
posted @ 2008-06-25 16:20 prayforsmile 阅读(2312) 评论(0) 推荐(0) 编辑