courtneyxxx-avatar

What is a recursive method?

Hey guys! One more question stuck, anyone? please explain the recursive method?
0%

8 replies

over 13 years ago
danmarino-avatar
"A recursive method is a method that invokes itself. For example, the method c ( ) is recursive. The statement return c(n-1,k) + c(n-1,k-1); is within the method c( ) and it invokes c( ) twice. "
over 13 years ago
karthur-avatar
Recursion throughout computer science is a method the place that the treatment for a challenge is dependent upon answers to littler cases of exactly the same issue. The particular method may be used on various types of troubles, which is among the central ideas connected with computer science.