Ask your own question, for FREE!
Computer Science 13 Online
OpenStudy (anonymous):

int i = 1; while(i < a.length){ System.out.println(a[i]); i++; }

OpenStudy (anonymous):

what is your question? @noochilised

OpenStudy (anonymous):

if you want to print all the ellements of your array you need to initialize your variable to 0 : int i =0;

OpenStudy (anonymous):

Yeah! @medjo is correct , if you want to print all the values of the array you have to initialize i= 0 @noochilised

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!