Which collection should you use?

You are an enterprise application developer. You plan to create a data access component. You need to identify the appropriate collection that meets following requirements: Provides type safety
at design time.Requires minimum development effort. Which collection should you use?

You are an enterprise application developer. You plan to create a data access component. You need to identify the appropriate collection that meets following requirements: Provides type safety
at design time.Requires minimum development effort. Which collection should you use?

A.
Use ArrayList.

B.
Use Hashtable.

C.
Use a generic collection.

D.
Create separate collection class for each data type.



Leave a Reply 0

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