问题 1
What is the difference between 'finally' block and 'final' keyword?
'finally' is used in exception handling to define a block of code that will be executed whether an exception is thrown or not. 'final' is a keyword used to apply restrictions on class, method, and variable.
保存以便复习
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
这有帮助吗?
添加评论
查看评论