Question
Which of these methods is used to add elements in vector at specific location?
Answer: Option D
Was this answer helpful ?
addElement() is used to add data in the vector, to obtain the data we use elementAt() and
to first and last element we use firstElement() and lastElement() respectively.
Was this answer helpful ?
Submit Solution