1. I can’t think that the compiler will have any objection to granting permission to your code above. I think its just how recursion is written and b.
2. Here, this code will cause a problem during runtime , and therefore it is completely a problem with the logic written by the programmer, so it will not bother the compiler, but at runtime the Error will be thrown ...
If the compilers were so smart ..... then the Terminator movie would be a close reality .....
source share