HELLO WORLD--一起加油(🍺)!|

kingwzun

园龄:3年6个月粉丝:111关注:0

JAVA技巧:Eclipse->Source

Override/lmplement Methods

作用:
快速重写父类函数
即:自动生成父类某函数
直接输入,父类变量名,Alt+/,更快

Select getters and setters to create

作用:
快速创建get set函数
即:自动生成

public int getX() {
return x;
}
public void setX(int x) {
this.x = x;
}
public int getY() {
return y;
}
public void setY(int y) {
this.y = y;
}

本文作者:kingwzun

本文链接:https://www.cnblogs.com/kingwz/p/15379863.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   kingwzun  阅读(90)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起