java
文章平均质量分 56
lufeng4321
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
使用JAVA中String的一些体会
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.racky.string; /** * * @author Racky */ public class StringTest { pu...原创 2009-04-24 11:07:29 · 171 阅读 · 0 评论 -
碰到一个不知道的问题,向大家请教
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.racky.singleton; /** * * @author racky */ public class Singleton { ...原创 2009-06-13 11:20:38 · 181 阅读 · 0 评论 -
抽象类与接口的比较
面试时经常会被问到抽象类与接口的区别,因此这里总结一下 可以从一下几个方面来考虑抽象类与接口的区别 1,组成方面 抽象类的组成可以有抽象方法,普通方法,常量,变量,构造方法,全局常量 接口的组成可以有抽象方法和全局常量 从上面可以看出,抽象类中可以有普通方法,常量,变量和构造方法,因此在抽象类中是 可以存在实现方法的,即有方法体的方法,抽象类中可以存在非抽象方法 ...2009-07-29 21:14:11 · 147 阅读 · 0 评论 -
java中this和super一例
package com.racky.test; public class Ex { public static void main(String[] args) { Fx f=new Fx(5); } Ex() { System.out.println("Ex无参数"); } Ex(int i) { S...原创 2009-08-01 10:20:44 · 128 阅读 · 0 评论 -
java中checked和unchecked异常比较
在java中明确区分两种类型的异常,扩展java.lang.Exception的异常则为checked异常,对于这类异常,编译器要求重新捕获或者继续抛出,也就是如果不捕获或抛出,就不能通过编译,编译器会报异常,扩展了java.lang.RuntimeException的异常是unchecked,对于这一类异常,则不是必须捕获或抛出的,当然也可以捕获或抛出,这类异常不捕获或抛出,在编译期间不会出现异...原创 2009-08-01 10:39:32 · 137 阅读 · 0 评论 -
spring2.0+struts2.0+hibernate3.0整合时的一个错误
2009-8-27 20:50:28 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the j...原创 2009-08-27 21:08:42 · 164 阅读 · 0 评论
分享