+ 1

Is it possible to return more than one value in java?

Java question

17th Feb 2020, 2:11 PM
palak pandey
palak pandey - avatar
2 Answers
+ 3
No, you can only return once, but you can return an array, and then decompose it.
17th Feb 2020, 2:21 PM
Aymane Boukrouh
Aymane Boukrouh - avatar