• Post Reply Bookmark Topic Watch Topic
  • New Topic

Indices in Java  RSS feed

 
Luqman Ghani
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are indices in java defined from 0 to onwards...
i.e, for instance, for

table = [1,2,3,4];

Is
elementAt(0) = 1
???
 
John Jai
Rancher
Posts: 1776
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!