JAVA资料
hzalan
这个作者很懒,什么都没留下…
展开
-
oracle中substr()的用法和Oracle中INSTR方法
In oracle/PLSQL, the substr functions allows you to extract a substring from a string.The syntax for the substr function is:substr( string, start_position, [ length ] )说明:string is the source string.s转载 2007-07-19 12:31:00 · 4922 阅读 · 0 评论 -
关于多态
package net.qday.test; public class Shape { public Shape(){ System.out.println("create a new shape"); } public void draw(){ System.out.println("shape drawing"); } } package net.qday.test; public class转载 2007-08-14 13:07:00 · 822 阅读 · 0 评论 -
什么是句柄?
每种编程语言都有自己的数据处理方式。有些时候,程序员必须时刻留意准备处理的是什么类型。您曾利用一些特殊语法直接操作过对象,或处理过一些间接表示的对象吗(C或C++里的指针)? 所有这些在Java里都得到了简化,任何东西都可看作对象。因此,我们可采用一种统一的语法,任何地方均可照搬不误。但要注意,尽管将一切都“看作”对象,但操纵的标识符实际是指向一个对象的“句柄”(Handle)。在其他Java参考转载 2007-08-14 13:24:00 · 2694 阅读 · 0 评论