posted 18 years ago
Hi all,
Had a question about the following code:
Prints " seal, seal, 3 " when compiled and run. I was wondering how is this code getting compiled cause try block in aboat method is returning 1 and then in the finally block, there is return value of 3. Isnt this wrong cause a method can return only one value and even if it can return 2 values, why 1 is not printed??
Regards