Computer Science, asked by Rushque9857, 1 year ago

Which of these methods can be used to obtain a static array from an arraylist object?

Answers

Answered by AnkitDey9
2
Answer is toArray ( ) .
Answered by Arslankincsem
0

It is specified by toArray in interface Collection and interface List, It overrides to Array in class AbstractCollection,


It returns an array containing all of the elements in this list in the correct order.


Hope the student can collect answer for this a question and get clear idea on array and it can simple to write the programs in a fine manner.

Similar questions