Dyskusje Q&A
what is Pow method?
0 głosów
3 odpowiedziWhat 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 głosów
2 odpowiedziredo
1 Głos
2 odpowiedziWhat does void do?
1 Głos
9 odpowiedziPopularne dzisiaj
Where is the error
1 Votes
Please help me
2 Votes
Game
0 Votes
Dc
0 Votes
Learn tkinter
1 Votes
Please recommend me
0 Votes