中国网管论坛's Archiver

my_wendy 发表于 2008-2-12 14:20

i good

vikinglee 发表于 2008-2-14 14:26

代码是我的最爱呀

cyg0957 发表于 2008-2-17 08:50

听明白了  这样好

loudnet 发表于 2008-3-10 17:23

禁用 URL 识别

禁用 Smilies

禁用 Discuz!代码

使用个人签名

什么都是禁止的 要代码也没什么用 好象:(:

zhongguowangwo 发表于 2008-3-29 12:01

Class aClass = Class.forName(xxx.xx.xx);
Object anInstance = aClass.newInstance();
Class.forName("").newInstance()返回的是object
but there is some limit for this method to create instance
that is your class constructor should no contain parameters,
and you should cast the instance manually.
Class Driver{
protected static Driver current;
public static Driver getDriver(){
return current;
}
}
Class MyDriver extends Driver{
static{
Driver.current=new MyDriver();
}
MyDriver(){}
                        }  

本文来自: 中国网管论坛(bbs.bitsCN.com) 详细出处参考:[url]http://bbs.bitscn.com/143256[/url]

hanbing0524 发表于 2008-4-1 13:03

俺是新来的,学习学习

zhuohe 发表于 2008-4-21 22:31

了解了 :lol

whbbin 发表于 2008-4-27 11:35

明白了,新手报到!

mqhai51aj 发表于 2008-5-5 17:49

看不懂,能说详细一点吗?

sqqianyu0213 发表于 2008-6-10 08:23

收到

知道了,我以前杂其他网站就是这么做的.

noonman 发表于 2008-6-19 11:59

:funk: :funk: 还是看不懂······

cugerstar 发表于 2008-7-14 16:51

收到



:o: :o: :o:

today88 发表于 2008-7-24 19:29

啊,原来如此

hua372483 发表于 2008-8-5 16:11

恩.明白.支持

踩一条路出来 发表于 2008-8-14 19:12

明白了,谢谢

页: 1 2 3 4 [5]

Powered by Discuz! Archiver 6.1.0  © 1999-2008 bbs.bitsCN.com