Magdy Saleh

Greenhorn
+ Follow
since Mar 22, 2016
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Magdy Saleh

Hey Jeanne,
   Thanks for your reply. You're right, maybe I shouldn't have posted it as an errata but since I'm using your guide to prepare for the exam, I think such piece of info should have been included in it.
Yours,
Magdy Saleh
In Oracle Certified Associate Java SE 8 Programmer I Study Guide on page 131. The authors never mentioned what happens if the void add(int index, E element) method of ArrayList is passed an invalid index (e.g. index < 0 or index >= size()) in which case the method throws and IndexOutOfBoundsException.