返回列表 发帖

[原创]Java中this与static的用法

阿?斑竹不是学java的?
this(petals);就是调用上面的那个Flower(int petals)构造函数阿
其实就是先Flower(int petals)再Flower(String s,int petals)再Flower()最后print方法,这里的参数呢就是("hi",47)这两个

TOP

[原创]Java中this与static的用法

嘿嘿,借此帖咨询一个问题
非常刻苦,到上面两位版主这般水平得多久阿

TOP

[原创]Java中this与static的用法

唉,楼上的看走眼了
本人地地道道的初学者,正在为看不清前面的路而迷茫呢

TOP

返回列表 回复 发帖