Which of the following method is used to create shallow/deep copy of array of objects? Select one: a. clone() b. static c. close() d. length code example
Example: how to make a copy of an array java
int a[] = {1, 8, 3};
// Copy elements of a[] to b[]
int b[] = a.clone();