How to create anonymous string array in Java Example

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Anonymous array are good to implement variable argument methods and they are used for that purpose prior to jdk5 introduced varargs.

Statistics

  • Total Hits - 26909

  • Total Votes - 107 votes

  • Vote Up - 44 votes

  • Vote Down - 63 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/Collections

  • Submitted By - Javin Paul

  • Submitted on - 2012-01-14 11:50:59

Description

Anonymous array are good to implement variable argument methods and they are used for that purpose prior to jdk5 introduced varargs. here is quick tip on how to create and initialize anonymous string array and use it. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements