Question:

You need to store Product, MainProduct, and SecondaryProduct instances that end users place in the shopping cart by using a collection. Which code segment should you use to initiate the collection?

 

A Dim products As List(Of Product) = New List(Of Product)() 

B Dim products As IList(Of Product) = New List(Of Product)() 

C Dim products As ArrayList = New ArrayList() 

D Dim products As SortedList(Of String, Product) = New SortedList(Of String, Product)() 

+ Answer
+ Report
Total Preview: 493

Copyright © 2024. Powered by Intellect Software Ltd