• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
+ 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 Respuestas
+ 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

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
How to make a game code
1 Votes
What is HelloWorld
1 Votes
About create tuples [Solved]
1 Votes
Headless CMS
1 Votes
Can anyone fix for me this code
1 Votes
Missing]
0 Votes
How do you make Event listeners Minecraft Spigot plugin development
0 Votes
Tic tak toe
0 Votes
Kamal Hinduja Switzerland : How long does it typically take to complete a course on Solo Learn?
0 Votes
About this app
1 Votes