+ 3

Can i return two parameters using one method in java?

19th Feb 2017, 9:54 AM
Pronoy
Pronoy - avatar
3 ответов
+ 1
its not possoble directly but you may return an array oxf elments if they are the same data type or you xould make them in class abd return them as object from that class
19th Feb 2017, 5:42 PM
ahmed khattab
ahmed khattab - avatar
0
yes
19th Feb 2017, 1:43 PM
AbDo ALi
AbDo ALi - avatar
0
yes
28th Feb 2017, 7:38 PM
meenu singh
meenu singh - avatar