Kursy
Zaloguj sięZacznij uczyć się AI
Kursy
Zaloguj sięZacznij uczyć się AI
+ 1

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

Java question

javacodingcorejava
17th Feb 2020, 2:11 PM
palak pandey
palak pandey - avatar
2 odpowiedzi
+ 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
+ 1
https://stackoverflow.com/questions/457629/how-to-return-multiple-objects-from-a-java-method https://stackoverflow.com/questions/15285270/is-it-possible-to-return-more-than-one-value-from-a-method-in-java
17th Feb 2020, 2:16 PM
Avinesh
Avinesh - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
1 Votes
??
1 Votes
How many program that you've made even a smaal project are good?
0 Votes
Hello guys,
1 Votes
Help me
1 Votes
Programming
0 Votes
Give some simple practice questions in C
0 Votes
how do they use javascript
0 Votes
Code coach isn't awarding xp
0 Votes
Temperature converter( celsius to fahrenheit)
0 Votes