let's assume that we have an array list of size 3, of some object type (say class named Patient that has attributes of it's own).
so we know about the is Empty() method that checks if the entire given array list is empty or no, but is there a way to loop around the array list and check at which index there is object or not.