logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology See What Others Are Saying!
  • Question
  • What is the importance of finally block in exception handling ?


  • Correct Answer
  • A finally block will always be executed, whether or not an exception is actually thrown Even in the case where the catch statement is missing and an exception is thrown, the finally block will still be executed Last thing to mention is that the finally block is used to release resources like I/O buffers, database connections, etc 


  • More questions

    • 1. Which of the following attribute can hold the JavaScript version?

    • Options
    • A. script
    • B. version
    • C. language
    • D. none of the above
    • Discuss
    • 2. What is recovery/error testing?
    • Discuss
    • 3. Which design patterns benefit from the multiple inheritance?

    • Options
    • A. Adapter and observer pattern
    • B. Code pattern
    • C. Glue pattern
    • D. None of these
    • Discuss
    • 4. What is Binary Portability Testing?
    • Discuss
    • 5. What is the proper way of setting up an Android-powered device for app development?
    • Discuss
    • 6. What is PHP?s configuration file called ?
    • Discuss
    • 7. How will you launch an Activity within you application?
    • Discuss
    • 8. Whats the difference between a NSArray and a NSMutableArray?
    • Discuss
    • 9. Values that are used to end loops are referred to as _____ values.

    • Options
    • A. stop
    • B. sentinel
    • C. end
    • D. finish
    • Discuss
    • 10. What is Broadcast ?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment