πŸ“Š JAVA
Q. In Java, can a "finally" block be used without a "catch" block?
  • (A) Only if the "finally" block is marked as "final"
  • (B) Only if the "finally" block is marked as "static"
  • (C) Yes, a "finally" block can be used independently
  • (D) No, a "finally" block must be associated with a "catch" block
πŸ’¬ Discuss
βœ… Correct Answer: (C) Yes, a "finally" block can be used independently

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
170
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
96%
Success Rate