returning multiple values in Java

后端 未结 6 527
时光说笑
时光说笑 2020-12-11 19:14

Preamble: I am aware of using a list or other collections to return a result but then I have to go through the list plucking the results out: see 2nd example

Preambl

6条回答
  •  囚心锁ツ
    2020-12-11 20:01

    You can use any of the Collection class for this purpose. This Lesson may help you in deciding what is best suited for you.

提交回复
热议问题