What are the two statements that check if myList is empty?
Exactly! We can find out by checking if size() equals 0 or, simpler, with isEmpty(). Arrays, on the other hand, have a length property.
Oh noes! We can find out by checking if size() equals 0 or, simpler, with isEmpty(). Arrays, on the other hand, have a length property.