Sail E0 Webinar
Question
Which of these class object can be used to form a dynamic array?
Options:
A .  ArrayList
B .  Map
C .  Vector
D .  Both a & b
Answer: Option D


Vectors are dynamic arrays, it contains many legacy methods that are not part of collection framework, and hence these methods are not present in ArrayList. But both are used to form dynamic arrays.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers