Sail E0 Webinar
Question
Which of these methods deletes all the elements from invoking collection?
Options:
A .  clear()
B .  reset()
C .  delete()
D .  refresh()
Answer: Option A


clear() method removes all the elements from invoking collection.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers