• Post Reply Bookmark Topic Watch Topic
  • New Topic

Arrays  RSS feed

 
Shiva Mohan
Ranch Hand
Posts: 486
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
int[] i={};

means one object is created with no reference in it.Am i correct?
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well there wouldn't be any references in an int array. i is a zero length array of ints.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!