Question: 2 6 ) If a new element is added to an ArrayList whose internal array if already full, A ) the new element is not
If a new element is added to an ArrayList whose internal array if already full,
A the new element is not added, and nul is returned
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 is returned
D the add method throws an exception
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
