How to return two values?

前端 未结 4 2126
深忆病人
深忆病人 2021-02-13 10:05

I\'d like to return a Cartesian coordinate (x, y), as two ints. The only way I see is to create a class and return an instance of it.

How to return two value

4条回答
提交回复
热议问题