+ 2

Explain recursion

know recursion

26th Sep 2017, 10:17 AM
Coding Beast
Coding Beast - avatar
5 Answers
26th Sep 2017, 10:49 AM
Nithiwat
Nithiwat - avatar
+ 2
A method which calls itself. Like for a Factorial Function: public long fact(long n){ if(n<1){ return 1; }else{ return n*fact(n-1) } }
26th Sep 2017, 1:44 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 1
nithiwat your comment doing recursion itself ,😂
26th Sep 2017, 11:39 AM
Coding Beast
Coding Beast - avatar
+ 1
thank you guyz
26th Sep 2017, 7:40 PM
Coding Beast
Coding Beast - avatar