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 3

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


Ryan

Ryan

The only thing I could get to compile was…
return new DBConfiguration();

So maybe answer C is a typo?