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