starting index from 1 not from 0
Posted
by M.H
on Stack Overflow
See other posts from Stack Overflow
or by M.H
Published on 2010-05-09T20:37:52Z
Indexed on
2010/05/09
20:38 UTC
Read the original article
Hit count: 130
My question is simple (I think it is silly too) ,how can I start the index in an ArrayList from 1 instead of 0 ? is this possible directly (I mean is there a code for this ) ?.
Actually a friend asked me this question today, first I thought that it is a silly question but after a while I thought if there is a direct way to do that and decided to ask it to you (maybe you have some brilliant ideas :) )
© Stack Overflow or respective owner