i have created an array like
arr[15] = "hello";
arr[21] = "world";
there are empty indexes from 0 to 14 and 15 to 20 . does these empty indexes are stored in memory or not . do they cause memory consumption . is it ok to have random indexes for array thanks