how to make an array of arraylists in java code example Example: how to make an array of arraylists in java ArrayList [] myList = (ArrayList[]) new ArrayList[4];