If you try to add an item to an ArrayList whose size is equal to its capacity,
A) an exception that indicates that the ArrayList is full is thrown
B) a new ArrayList object with twice the capacity is created, and the elements are moved to this new ArrayList.
C) The method for adding the new item returns false
D) The method for adding the new item returns null
B) a new ArrayList object with twice the capacity is created, and the elements are moved to this new ArrayList.
You might also like to view...
Name two of the ways the author recommends finding participants for usability testing.
What will be an ideal response?
You can ________ a picture to remove unwanted areas
A) crop B) clip C) snip D) snag
The PV is
A) a set of range names. B) why you do not have to make the cell reference absolute in the formula. C) the present value of the loan. D) is a word or a string of characters that represent one or more cells.
A(n) ____ is a network that allows two or more devices located close to each other to communicate or to connect a device to the Internet.
A. local area network (LAN) B. peer-to-peer network C. personal area network (PAN) D. interface network