Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuiteDiscussions Q&R
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 Vote
2 RéponsesAujourd'hui en vedette
Quick question in python.
2 Votes
What’s wrong with this???
2 Votes
What's wrong with these codes?
1 Votes
What can i do with bits
2 Votes
Arrays
0 Votes
Is it A Bug or A Feature?
0 Votes
Guys, it’s about streak
0 Votes
I can't add friends
2 Votes
Was there a Go course?
0 Votes