- 链接地址:https://blog.csdn.net/dl674756321/article/details/105810006
- 链接标题:this 和 super-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:9067
文章浏览阅读188次。thisthis表示一个对象的引用,它指向正在执行方法的对象,在构造方法中,通过this关键字调用其他构造方法时,必须放在第一行,且只能通过 this 调用一次其他构造方法。public class Test_this_super { int id; String name; boolean man; double width; public Te...
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除
标签:this 和 super