• Post Reply Bookmark Topic Watch Topic
  • New Topic

array question  RSS feed

 
Evan Pierce
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey, i was wondering if i did...



would ints[1] just reffrence to what was held in int[0] or would it be its own stand alone number? like if i deleted int[0] would there still be something in int[1]?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> would there still be something in int[1]?

what happened when you did this?

System.out.println(ints[1]);
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!