
Java语言基础
iteye_9716
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
The Java serialization algorithm revealed
http://www.javaworld.com/community/node/2915原创 2009-06-15 17:20:51 · 80 阅读 · 0 评论 -
安装Eclipse的Tomcat插件
http://www.eclipsetotale.com/tomcatPlugin/tomcatPluginV321.zip下载解压后文件夹名是: com.sysdeo.eclipse.tomcat_3.2.1将其放到c:\eclipse\plugins重启Eclipse,去Windows --> preference中配置一下即可...原创 2010-06-07 08:37:57 · 105 阅读 · 0 评论 -
异常在多态
If a method is overridden but you use a polymorphic (supertype)reference to refer to the subtype object with the overriding method, the compilerassumes you’re calling the supertype version of the ...原创 2009-09-27 16:01:17 · 117 阅读 · 0 评论 -
Java Forum 系列之Exception
[code="java"]public class Test { public static void main(String[] args){ int i = 0; try{ for(int k = 0; k原创 2009-09-24 14:57:04 · 124 阅读 · 0 评论 -
equals() & hashCode()为什么有时需要重写
翻阅一些资料后:[b]段落1:[/b]为什么要重写hashCode()方法呢,主要是为了return 我们想要的hashCode值,这些值是整型。首先看看原始的Object类中的hashCode():[code="java"]public native int hashCode();[/code]看看对这个方法的描述: As much as is reasonably ...原创 2009-07-23 23:01:23 · 77 阅读 · 0 评论 -
teradata DB connection在Jboss中的配置
To set up the environment for teradata DB connection in Jboss4.0Please do several actions to set up the environment for connection to teradata DB in Jboss4.0:1)Put the named: teradata-ds.xml fil...原创 2010-01-21 20:18:04 · 192 阅读 · 0 评论 -
Eclipse中使用VSS插件下载
解压该附件,然后放入目录 \plugins中即可原创 2010-01-15 16:39:53 · 139 阅读 · 0 评论 -
使用poi 从数据库导出生成Excel文件
最近做一个月参与了公司两个小项目,毕业快两年,参与项目还真少!所以呢,本人掌握的知识还是很有限,完成了某些功能,需要放到这里,供日后参考![b]如何从数据库中导出数据生成Excel文档[/b]首先第一步,我参考了POI 这个开源项目,从其官方网站download需要用到的jar包。 http://poi.apache.org/然后项目采用的是Struts1.* 的版本,ok...原创 2010-01-07 21:32:58 · 95 阅读 · 0 评论 -
引用作为参数传值的一些疑惑解释
先看代码:[code="java"]public class ReferencePass { public static void change(String str){ str = "xxd7"; } public static void main(String[] args){ String str = "xxd"; change(str); Sy...原创 2009-07-08 00:11:39 · 108 阅读 · 0 评论 -
什么时候用静态方法?
http://www.javaworld.com/javaworld/javaqa/2001-11/03-qa-1121-mrhappy.html?page=1 :lol: :lol:原创 2009-06-29 21:08:18 · 131 阅读 · 0 评论 -
Vector or ArrayList 哪个更好呢
http://www.javaworld.com/javaworld/javaqa/2001-06/03-qa-0622-vector.html?page=1原创 2009-06-22 15:36:42 · 124 阅读 · 0 评论 -
类装载器的体系结构
阅读“类装载器的体系结构”这一节时,有一些的要点:1.类装载器有两种: 启动类装载器和用户自定义的类的装载器。启动类装载器是Java虚拟机实现的一部分。启动类装载器通常使用某种默认方式从本地磁盘中装载类,包括Java API的类。启动类装载器也被称为原始类装载、系统类装载器或者默认装载器。 Java应用程序能够在运行时安装用户定义的类装载器,这种类装载器能够使用自定义的方式来装载...原创 2009-06-17 01:50:28 · 121 阅读 · 0 评论 -
Setting Environment Variables
你知道windows 98的环境变量设置吗,我工作的时候就碰到过,到网上找了找,老外写的还真详细细致,感激!http://www.chem.gla.ac.uk/~louis/software/faq/q1.html[b]For Windows 95[/b]It is necessary to manually edit the file AUTOEXEC.BAT wit...原创 2010-06-10 08:48:56 · 542 阅读 · 0 评论