How do you append (n) null elements to a collection?

Options
- EXTEND (n)
- APPEND
- EXTEND
- DELETE


CORRECT ANSWER : EXTEND (n)

Discussion Board
EXTEND Method

EXTEND procedure has three forms. EXTEND appends one null element to a collection. EXTEND(n) appends n null elements to a collection. EXTEND(n,i) appends n copies of the ith element to a collection. EXTEND operates on the internal size of a collection. If EXTEND encounters deleted elements, it includes them in its tally. You cannot use EXTEND with associative arrays.

Prajakta Pandit 02-21-2017 03:39 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement