Q&A Discussões
what is Pow method?
0 Voto
3 RespostasWhat 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 Voto
2 Respostasredo
1 Voto
2 RespostasWhat does void do?
1 Voto
9 RespostasQuente hoje
Started learning python
2 Votes
How can one build an Ai app
3 Votes
Websites for frontend developers
1 Votes
AI Takeover
1 Votes
C course progress restart
2 Votes
How to learn python
1 Votes
Error in the result
0 Votes