
avaJ
文章平均质量分 76
stlinuxily
这个作者很懒,什么都没留下…
展开
-
Java IO类的好例程
http://blog.youkuaiyun.com/chensheng913/archive/2004/07/03/33279.aspx 学习中……转载 2004-07-21 21:06:00 · 549 阅读 · 0 评论 -
相关学习链接
Java:http://www.cjsdn.net/post/view?bid=17&id=93783&sty=1&tpg=1&age=0http://www.huihoo.com/patterns/java_factory.htmlhttp://dev.youkuaiyun.com/develop/article/10/10559.shtmhttp://snipsnap.org/space/starth转载 2004-08-05 22:52:00 · 823 阅读 · 0 评论 -
关于Java异常处理的学习代码
//MultiNest.javaclass MultiNest{ static void procedure(){ try{ int c[] = { 1 }; c[42] = 99; }catch(ArrayIndexOutOfBoundsException e){ System.out.println("array index oob: " + e); } } publi转载 2004-08-06 16:01:00 · 1028 阅读 · 0 评论 -
如何判别闰年?
闰年的来历 关于公历闰年是这样规定的:地球绕太阳公转一周叫做一回归年,一回归年长365日5时48分46秒。因此,公历规定有平年和闰年,平年一年有365日,比回归年短0.2422日,四年共短0.9688日,故每四年增加一日,这一年有366日,就是闰年。但四年增加一日比四个回归年又多0.0312日,400年后将多3.12日,故在400年中少设3个闰年,也就是在400年中只设97个闰年,这样公历年的平均转载 2004-08-12 11:11:00 · 1869 阅读 · 0 评论 -
Java访问数据库的速度瓶颈问题的分析及解决
http://www-900.ibm.com/developerWorks/cn/java/l-dbperform/index.shtmlJDBC访问数据库的机制转载 2004-08-17 15:31:00 · 752 阅读 · 0 评论 -
SUN JAVA程序员认证考试大纲
Sun Certified Java Programmer (Java 2) Basic Object Oriented Concept Object An instance of a class Has state and behavior State is contained in its member variables Behavior is implemented through its转载 2004-08-17 20:34:00 · 1695 阅读 · 0 评论 -
JAVA内部类
//StaticCls.javapublic class StaticCls{ public static void main(String[] args){// OuterCls ci = new StaticCls().new OuterCls();//method 3 replace 2.1// OuterCls.InnerCls oi=new OuterCls.InnerCls()转载 2004-08-19 22:37:00 · 1148 阅读 · 0 评论 -
Java堆的管理--垃圾回收
//Garbage.javaclass Chair { static boolean gcrun = false; static boolean f = false; static int created = 0; static int finalized = 0; int i; Chair() { i = ++created; if(cre转载 2004-08-21 22:18:00 · 693 阅读 · 0 评论 -
类的构造过程实例
//InitializationTest.javapackage foldConstructor;// //父类的定义class Parent { int pm1; int pm2 = 10; int pm3 = pmethod(); { System.out.println("Parents instance initialize block"); } public stat转载 2004-09-02 20:02:00 · 998 阅读 · 0 评论