Solved

If a New Element Is Added to an ArrayList Whose

Question 4

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents