Kursy
Zaloguj sięZacznij uczyć się AI
Kursy
Zaloguj sięZacznij uczyć się AI

Dyskusje Q&A

why devolper's use linux instead of windowes
mus
0 głosów
1 Odpowiedź
7th Apr 2024, 12:56 PM
Muhmmad Usman
Muhmmad Usman - avatar
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)); }
java
0 głosów
2 odpowiedzi
9th Jul 2016, 12:20 PM
milada
milada - avatar
Popularne dzisiaj
Audio adding
1 Votes
playground input
0 Votes
What is problem in this code
0 Votes
Stuck in Quize
1 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
C Program
0 Votes
Software developer
0 Votes
Asking for final year project ideas!
1 Votes
TIPS From Veterans
1 Votes
How does JavaScript's event loop handle asynchronous operations like setTimeout, Promises, and async/await, and what are the dif
1 Votes