Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
recursion is a function in JAVA which it's self call in the any return function int fact(int n) if (n < 1) // base case return 1; else return n*fact(n-1);
20th Jan 2020, 11:30 AM
Vikram Singh
Vikram Singh - avatar