What happens if we write goto statement in Finally block?
We can’t write the goto statement in finally block. goto statement can write in try or catch block because finally, block must execute all the statements inside whether the exception raised or not. So the control can't move outside from finally block.
If we did it, it will show the compile time error saying "Control cannot leave the body of finally clause".