java中构造方法的作用
1、与类名相同,无返回类型的方法,参数可以为空,也可以带参数。
猜你喜欢
转载自blog.csdn.net/weixin_44730266/article/details/100672052
今日推荐
周排行