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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
90
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Shiva Ram
Publisher
πŸ“ˆ
90%
Success Rate