• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help with Array Code Snippet  RSS feed

 
Anand Divakaran
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Could somebody explain how new Object[1] and new Object[2] can be used in the below snippet. I understand if new Object(), new Object() was used instead of new Object[1], new Object[2]

Thanks in advance
Anand
 
Campbell Ritchie
Marshal
Posts: 56600
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An array is in itself an Object.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!