Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7445833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:08:11+00:00 2026-05-29T12:08:11+00:00

When defining an ASyncTask and it associated methods in Android there are 3 dots

  • 0

When defining an ASyncTask and it associated methods in Android there are 3 dots that appear, eg protected Long doInBackground(URL... urls)

What do the dots mean?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T12:08:14+00:00Added an answer on May 29, 2026 at 12:08 pm

    It’s not entirely the same thing. Consider the following examples

    Example 1:

    public String concatenateStrings(String... strings){
      StringBuffer sb = new StringBuffer();
      for( int i = 0; i < strings.length; i++ )
        sb.append( strings[i] );
    
      return sb.toString();
    }
    

    Example 2:

    public String concatenateStrings2(String[] strings){
      StringBuffer sb = new StringBuffer();
      for( int i = 0; i < strings.length; i++ )
        sb.append( strings[i] );
    
      return sb.toString();
    }
    

    They’re allmost identical, right? Wrong, calling them is the big difference. The first example allows for an undefined number of strings to be added.

    Example 1:

    concantenateStrings("hello", "World", " I ", " can ", " add ", " so ", " many strings here" );
    

    Example 2:

    Strings[] myStrings = new Strings[7];
    myStrings[0] = "Hello";
    myStrings[1] = "world";
    myStrings[2] = " I ";
    ...
    myStrings[6] = " many strings here";
    concatenateStrings2( myStrings );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When defining an Ontology using OWL, is there a way to say that a
When defining fields in a django model, there are two ways to say that
Defining custom components in Facelets is easy and quick but there's one thing I
When defining parameter type that is e.g. in System.Data you have no intellisense and
When defining a custom operator from the limited set of single-character operators that can
I am currently defining regular expressions in order to capture parameters in a URL,
When defining nested classes, is it possible to access the outer class' methods? I
When defining colors using shorthand hexidecimal ( style=color: #FFF; ), is there a defined
Does defining an instance as dynamic in C# mean: The compiler does not perform
When defining a member function pointer that points to a function inherited privately from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.