0 votes
in Scala Constructs by
What is Recursion tail in Scala?

1 Answer

0 votes
by

Recursion’ is a function that calls itself. For example, a function ‘A’ calls function ‘B’, which calls the function ‘C’.  It is a technique used frequently in Functional programming. In order for a Tail recursive, the call back to the function must be the last function to be performed.

Related questions

0 votes
asked Sep 12, 2022 in Scala Constructs by Robin
0 votes
asked Sep 12, 2022 in Scala Constructs by Robin
...