0 votes
in QuickTest Professional (QTP) by

What is the difference between “Array” and “Dictionary”?

1 Answer

0 votes
by

                               Array                        Dictionary

Dynamic array is possible

There is no concept of dynamic dictionary

Size of array must be set before the use of array

The size of dictionary do not need to be set

We have to use redim statement before adding extra element into dynamic array

To add extra element there is no need to write any statement.  We just use add method

There is no particular method to release the memory if particular element is not required

Element which is not required any longer can be removed from the dictionary

Related questions

0 votes
asked Jan 9 in C Plus Plus by GeorgeBell
+1 vote
asked Apr 9, 2020 in C Sharp by GeorgeBell
...