如果我有代码
int getA(){ return a; }
然后做类似的事情
int b = obj.getA();
代替
int b = obj.a;
这是否意味着必须推送和弹出堆栈最终减慢我的代码?
java
java ×1