Search:

Type: Posts; User: barhom

Search: Search took 0.08 seconds.

  1. Replies
    4
    Views
    1,302

    Re: global variables for threads

    someone told me i should make private class which only threads or mains can acess them by giving the threads the right parametrs in the constructor ,and main which allocate memory for the class ,is...
  2. Replies
    4
    Views
    1,302

    Re: global variables for threads

    nope i understand what your saying,but not my problem,my teacher told us their global vars for threads ,that only them they can access,i asked how to use those global vars and how to access them she...
  3. Replies
    4
    Views
    1,302

    global variables for threads

    hey i have java assignment ,its like these i have 2 mythreads class which extend the original thread and main , in which class i need to put global variables for both thread and main to use,and how...
Results 1 to 3 of 3