Results 1 to 3 of 3
  1. #1
    bleachisback is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default What does the "..." at the end of a classname/classpath mean

    I'm using an API and the documentation says that a method had a parameter of "java.lang.String..." and not just "java.lang.String". The method itself uses multiple lines, so I was expecting it to be an array, but I don't know what it means.

    So what does the "..." at the end mean?

  2. #2
    bleachisback is offline Member
    Join Date
    Sep 2011
    Posts
    2
    Rep Power
    0

    Default Re: What does the "..." at the end of a classname/classpath mean

    AHHHHH I see what it means. For those that are interested, it means you can input multiple parameters, i.e.

    method("String", "Second Param", "Another param");

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default Re: What does the "..." at the end of a classname/classpath mean

    Read about it here: Classes

    db

Similar Threads

  1. Replies: 0
    Last Post: 06-24-2011, 09:14 PM
  2. Replies: 3
    Last Post: 10-12-2010, 05:21 PM
  3. Replies: 1
    Last Post: 01-21-2010, 10:20 AM
  4. Replies: 2
    Last Post: 01-24-2009, 07:56 PM
  5. Replies: 1
    Last Post: 10-20-2008, 08:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •