How to pass all integers from ArrayList into static int variable, deviding them with “|” sign?

后端 未结 0 1551
Happy的楠姐
Happy的楠姐 2021-01-23 09:50

For instance, I have:

ArrayList intList = new ArrayList<>(Arrays.asList(0,1,2,3));

And I need to get eventually this:

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