Array Index Out of Bounds error on Array List

String[] originalArray = { "apple", "orange", "grape", "banana", "lemon" };
String[] clonedArray = originalList.clone();
3 Likes