This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Venkat basa wrote:when am try to retrive it,it gives outof bound exception, why we take like this,any special purpose is there..?
The exception occurs because you're trying to access an index that is not present in the list. The purpose for the exception is--surprise--to tell you that you've tried to access something that doesn't exist.