I guess.......... Initalize the parameter? or init the resouce?Not clear,waiting the answer.
解决方案 »
- GET SET 基础问题
- 如何读取mp3的信息?
- JAVA新手JDBC问题求教....
- ant工具如何使用?
- 新手提问:用Eclipse来编写java程序,程序里用到的图标等在机子上的存放路径如何设置???
- 新学java一道关于算法的题,请给位高手帮忙。
- 请教一个内部类的问题: new A().super()
- simple question 60 points wait for your picking
- 什么开发环境比较好??
- 强烈推荐:很多好书,包括中文版的《thinking in java》,下载速度暴快!!
- PreparedStatement的问题。
- 请问JVM,ClassLoader以及类静态成员的关系,主要是对J2EE环境下Singleton实现的考虑
public A(){
System.out.println("父类构造输出");
}
}//B.javaclass B extends A{
B(){
super();//不管这行有没有都一样
System.out.println("子类构造输出");
}
public static void main(String[] args){
B b=new B();
}
}子类的构造方法,并不会覆盖父类的构造方法,输出结果为父类构造输出
子类构造输出
extends JspWriter
A JspWriter subclass that can be used to process body evaluations so they can re-extracted later on.
BodyContent
protected BodyContent(JspWriter e)Protected constructor. Unbounded buffer, no autoflushing.--------------------------------
The protected constructor seems to make an house keeping(clear the buffer,unbind some resouce,flush the new change,or commit sth)