Java - Any tips on getting around the pass-by-value issue?

前端 未结 0 1608
眼角桃花
眼角桃花 2020-12-13 09:24

In the code below I have a classic java pass by value issue (written in processing; setup() == main).

void setup()
{
  A a = new A();
  
  a.makeTheB(a.b);
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题