You need to avoid naming conflicts within your code

You use code from different companies. You need to avoid naming conflicts within your code. What
should you do?

You use code from different companies. You need to avoid naming conflicts within your code. What
should you do?

A.
Use global variables to reference each of the classes.

B.
Define each class as private.

C.
Deploy the classes as two separate files.

D.
Define the classes inside unique namespaces.



Leave a Reply 1

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


Saeed Asgari

Saeed Asgari

I think the right answer is D . unique namespaces. can somebody please correct me if im wrong?