If dynamic memory has been allocated for an object and an exception occurs, then:

a. The catch block will not work properly.
b. A memory leak could result.
c. The object's constructor will cause another exception.
d. Multiple pointers to memory could be created.


b. A memory leak could result.

Computer Science & Information Technology

You might also like to view...

What happens when this is used in a constructor’s body to call another constructor of the same class if that call is not the first statement in the constructor?

a. A compilation error occurs. b. A runtime error occurs. c. A logic error occurs. d. Nothing happens. The program compiles and runs.

Computer Science & Information Technology

IPv6 uses 32 bits to assigna(n)

a. data packet to each transmission. b. memory address to the CPU. c. address to every device connected to the Internet. d. estination Internet address to each e-mail.

Computer Science & Information Technology

An error message style of Warning prevents a user from entering invalid data in a cell

Indicate whether the statement is true or false.

Computer Science & Information Technology

A(n) ____ functions as both a bridge for nonroutable protocols and a router for routable protocols.

A. switch B. hub C. amplifier D. brouter

Computer Science & Information Technology