Which of the following statements is true?

a. The code in a finally block is executed only if an exception occurs.
b. The code in a finally block is executed only if an exception does not occur.
c. The code in a finally block is executed only if there are no catch blocks.
d. None of the above are true.

d. None of the above are true. The code in the finally block is always executed provided that the flow of control enters the corresponding try block.

Computer Science & Information Technology

You might also like to view...

________ numbers are used in place of binary numbers because binary numbers are difficult to read

Fill in the blank(s) with correct word

Computer Science & Information Technology

An administrator working on a Windows Server 2016 Server Core installation needs to disable DHCP all interfaces on the server. What PowerShell command should be used?

A. Set-NetIPInterface B. Change-NetIPInterface C. Set-DHCPClientSettings D. Set-NetIf

Computer Science & Information Technology