展开全部
private double _numberA=0;
private double _numberB=0;
public double get_numberA() {
return _numberA;
}
public void set_numberA(double _numberA) {
this._numberA = _numberA;
}
public double get_numberB() {
return _numberB;
}
public void set_numberB(double _numberB) {
this._numberB = _numberB;
}
我专门建个类写的 谢谢了!
private double _numberB=0;
public double get_numberA() {
return _numberA;
}
public void set_numberA(double _numberA) {
this._numberA = _numberA;
}
public double get_numberB() {
return _numberB;
}
public void set_numberB(double _numberB) {
this._numberB = _numberB;
}
我专门建个类写的 谢谢了!
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
private double _numberA = 0;
private double _numberB = 0;
public double getNumberA(){
return _numberA;
}
public void NumberA(double value){
_numberA = value;
}
private double _numberB = 0;
public double getNumberA(){
return _numberA;
}
public void NumberA(double value){
_numberA = value;
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
一样的写法
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询