Which code fragment must be inserted at line 6 to enable the code to compile?

Given the code format: Which code fragment must be inserted at line 6 to enable the code
to compile?

Given the code format: Which code fragment must be inserted at line 6 to enable the code
to compile?

A.
DBConfiguration f; return f;

B.
Return DBConfiguration;

C.
Return new DBConfiguration;

D.
Retutn 0;



Leave a Reply 2

Your email address will not be published. Required fields are marked *


skywalker

skywalker

Correct answer is C – return new DBConfiguration()