Because you defined it that way. If that is not what you want I suggest you redefine the method in terms you DO want (wouldn't you want to do something with the recursive returned strings from the...
Type: Posts; User: copeg
Because you defined it that way. If that is not what you want I suggest you redefine the method in terms you DO want (wouldn't you want to do something with the recursive returned strings from the...
Well, you've defined the function to return a String so by definition you must. Return an empty string if you have to.
Recursive algorithms are quite dependent upon order of operation. If you...
Check your syntax where all those compilation errors occur. For example,
if (0<=n && n<=9)//is correct
else if (n ==1);//I assume you do not want a semi-colon here.