Just give answer no need to exmplain.
___________ implements the IList interface?
Stack
ArrayList
Queue
Hashtable
How can we decrease the Capacity of Collection
Calling TrimToSize method
Calling Clear method
Setting Capacity explicitly
Option 4
Calling TrimExces
Which of the following collections operate based on Key
ArrayList
Hashtable
SortedList
Stack
Which of the following are true about the ArrayList
ArrayList can dynamically grow in size
ArrayList are of fixed size
ArrayList is used for managing KeyValue pair
Protected members of base class are accessible within the same class and in __________ class.
Non-derived and Derived
Only in Derived
Non derived
None of the above
What is the relation between interface and class?
Class inherits all functionality from interface
Class implements all methods of interface
Class contains all members of interface
Class aggregates all members of interface
What are the differences between Hashtable and Arraylist are:
Retrieving the data in ArrayList is faster than retrieving the data in Hashtable
Array list is a collection of objects and hashtable is a collection of keys and thier
All the above
ArrayList
ArrayList implements the IList interface
Calling TrimToSize method
we can decrease the Capacity of Collection by Calling TrimToSize method
Hashtable
Hashtable operate based on Key
ArrayList can dynamically grow in size
true about the ArrayList is that they can dynamically grow in size
Only in Derived
Protected members of base class are accessible within the same class and in Only in Derived class.
Class implements all methods of interface
the relation between interface and class is that a Class implements all methods of interface.
Array list is a collection of objects and hashtable is a collection of keys and thier
the differences between Hashtable and Arraylist is that an Array list is a collection of objects and hashtable is a collection of keys and thier value.
Get Answers For Free
Most questions answered within 1 hours.