1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

working with ARRAYS and THREADS

Discussion in 'Java' started by WEIRD, Dec 19, 2007.

  1. WEIRD

    WEIRD New Member

    Joined:
    Dec 19, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    hello,hw r u?
    im currently working on a program but have come up with an issue that i cant sort because i dont have the exact knowledge as to how to solve it.

    im creating a program which has an array with random integers.these integers have to be picked out using a thread.its this bit that i dont know.

    i can create the two arrays 1 and 2 with numbers from 0...100
    using these arrays:

    im to:

    "thread 1"object finds all the integers in the range 70...80 in array1 and sends it to "thread3"object

    "thread 2" object finds all the integers in the range 70...80 in array2 and sends it to "thread3" object


    so my query here is "how can a thread pick out integers from an array?"

    i will really appreciate it if someone would help me out here with their kind knowledge.
    thank u
    nice day!
     
  2. WEIRD

    WEIRD New Member

    Joined:
    Dec 19, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    No Response Yet! :(
     
  3. akbaraliakbar

    akbaraliakbar New Member

    Joined:
    Dec 9, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    :surprised
     

Share This Page