Tech Me More

To quench our thirst of sharing knowledge about our day to day experience & solution to techincal problems we face in our projects.

Advertise with us !
Send us an email at diehardtechy@gmail.com

Thursday, April 10, 2014

OCJP Practice question #13

What will be output of the following Java Program ?


Answer :

Choice C is correct.  IndexOutOfBoundsException

There is only one element in the list and index starts from 0 for ArrayList.


More Question here : OCJP



No comments: