Examveda

Which of the following methods can be used to copy an array in Java?

A. System.copy()

B. Arrays.copyOf()

C. Collections.copy()

D. System.arraycopy()

Answer: Option D


This Question Belongs to Data Structure >> Arrays In Data Structures

Join The Discussion

Related Questions on Arrays in Data Structures