Q22
What is the purpose of the `toArray()` method in the Java Collections Framework?
A.
It sorts the collection
B.
It converts a collection to an array
AnswerC.
It reverses the collection
D.
None of These
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board