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.