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 would be displayed as a result of executing the following code?

int x = 578; System.out.print("There are " + x + 5 + "\n" + "hens in the hen house."); a. There are 583 hens in the hen house. b. There are 5785 hens in the hen house. c. There are x5\nhens in the hen house. d. There are 5785 hens in the hen house.

Computer Science & Information Technology

Modern ciphers use binary operations. Which of the following is an example of a binary operator?

A) Caesar cipher B) AND C) ROT13 D) Atbash cipher

Computer Science & Information Technology

Windows servers can serve out ____ files by default if the permissions are set correctly for the database file.

A. MySQL B. DB2 C. Oracle D. Access

Computer Science & Information Technology

A table is considered a ________ list if the data of most of its records will not change from day to day

Fill in the blank(s) with correct word

Computer Science & Information Technology