Kev*_*sox 36
String[] arr = {"One", "Two", "Three", "Four", "Five"};
String[] arr2 = Arrays.copyOfRange(arr, 2, arr.length);
//Note third param is exclusive
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11845 次 |
| 最近记录: |