Thread: ... Array?

Results 1 to 4 of 4
  1. #1 ... Array? 
    Banned
    Join Date
    Feb 2011
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I noticed when adding a "..." after an object it turns it - into an array?

    I was just wondering specifically what this does.

    Example:
    Code:
    public void conver(Object... objZ) {}
     

  2. #2  
    Registered Member
    Mister Maggot's Avatar
    Join Date
    Dec 2008
    Posts
    7,227
    Thanks given
    3,283
    Thanks received
    2,875
    Rep Power
    5000
     

  3. #3  
    Renown Programmer
    Method's Avatar
    Join Date
    Feb 2009
    Posts
    1,455
    Thanks given
    0
    Thanks received
    845
    Rep Power
    3019
    It allows you to pass a variable number of arguments to a method. See this page for more information.
    :-)
     

  4. #4  
    Banned
    Join Date
    Feb 2011
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Thank you
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. What is this array doing?
    By Vegas in forum Help
    Replies: 6
    Last Post: 12-24-2010, 01:05 AM
  2. array...
    By _slam in forum Help
    Replies: 0
    Last Post: 10-31-2009, 09:40 AM
  3. Replies: 4
    Last Post: 08-26-2009, 07:14 PM
  4. Using an Array
    By Kihomura in forum Tutorials
    Replies: 10
    Last Post: 05-28-2009, 09:04 PM
  5. Placing an array into another array?
    By Meanz in forum RS2 Client
    Replies: 13
    Last Post: 05-26-2008, 05:28 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •