Solved

If a New Element Is Added to an ArrayList Whose

Question 5

Multiple Choice

If a new element is added to an ArrayList whose internal array if already full,


A) the add method throws an exception
B) A new,bigger internal array is created,the elements are moved to the new array,the old internal array is deleted,and then the new element is added
C) the new element is not added,and -1 is returned
D) the new element is not added,and null is returned

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions