Answer Posted / Birbal Singh
"The 'finally' block in Scala is used for ensuring that some cleanup code is always executed, regardless of whether an exception occurs or not during the execution of a block of code. It is placed after try and catch blocks and contains the cleanup code."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers