研发埠

标题: [Oracle interview]How are this() and super() used with constructors? [打印本页]

作者: 程旭媛    时间: 2013-8-16 16:36
标题: [Oracle interview]How are this() and super() used with constructors?

作者: 龚城师    时间: 2013-8-16 16:42
This() is  used to invoke a constructor of the same class. super() is used to invoke a  superclass constructor.




欢迎光临 研发埠 (http://bbs.yanfabu.com/) Powered by Discuz! X3.2