How to create a sub array of objects in java? -


i have 1 object array 100 objects. created 1 sub of above mentioned array 10 objects. want remaining 90 objects new array. java code that?

here, can see need help...

object[] original;  object[] rest = arrays.copyofrange(original, 10, 100); 

Comments