Sesiones de PyR
What is the output and why?
public static int[] make (int n){
int[]a=new int [n];
a [i]=i+1;
}
return a;
}
public static void dub (int []jub){
for (intent i=0;i <jub.length;i++){
jub*=2;
}
}
public static int mus (int []zoo){
int jus=0;
for (int i=0;i <zoo.length;i++){
jus+=zoo [i];
}
return jus;
}
public static void main (String [] args){
int [] bob =make(5);
dub (bob);
System.out.println (mus (bob));
}
0 Votos
2 Respuestaswhat is Pow method?
0 Votos
3 Respuestasredo
1 Voto
2 RespuestasWhat does void do?
1 Voto
9 RespuestasEn tendencia hoy
How to improve code readability
0 Votes
Functions
1 Votes
App
0 Votes
I NEED to make a game
0 Votes
Please help with the output
0 Votes
Grouping data is not working
0 Votes
Use of flag
0 Votes
Mentor
0 Votes