title: Java thread with object
body: <p>Lets say I have a class that contains a list of sorted numbers.</p>
  
  <p>The object has a get function so i can see the private variables inside the class (in this case, the array)</p>
  
  <p>If I thread the object, how do I access the class get function? </p>
  
  <pre><code>eg
  Thread t1 = new testclass();
  t1.start();
  t1.getvalue() ; ??
  </code></pre>
  
  <p>I haven't coded anything yet, still in the design phase of my assignment</p>