F&A Diskussionen
code
2 Stimmen
3 AntwortenWhat codes are appropriate to post?
18 Stimmen
2 AntwortenWhat 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 Stimmen
2 AntwortenSololearn code !
1 Stimme
12 AntwortenWhat does void do?
1 Stimme
9 AntwortenCreating your own job.
2 Stimmen
1 AntwortHeute heiß
Detach thread exception
1 Votes
Qt timer timeout
0 Votes
Not video
0 Votes
How to make a 2d game
0 Votes
Not image in the page
0 Votes