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

what is difference between recursion and iterration?

OpenStudy (konradzuse):

Iteration loops like a for loops, while recursion is a method that calls itself. i.e., int i = 0; public void doSomething() { while(i < 10) { system.out.println(i); i++; doSomething(); } }

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!