Ok , now i got my output but , everything doesnt seem to be in order. I tried for days and nights. Now I understand more about Multi Threading. How do i get the output as what i expected ? Can...
Type: Posts; User: tanchiwoo
Ok , now i got my output but , everything doesnt seem to be in order. I tried for days and nights. Now I understand more about Multi Threading. How do i get the output as what i expected ? Can...
But Still , i dont know why it show me NPEs on line 21 ...... I thought I did the correct way
Hi Sir, I wrote a Pool class to see what output I got.
Looks good
" 38 shares has been brought at $ 53.87
26 shares has been brought at $ 43.04 "
Now my problem is how do i call the buy method...
Hi Sir, I dont know how to read....... Can you tell me which line have problems? Or which variables I point wrongly ?
Good Day , Sir ! Your help is greatly appriciated .
This is th output i got
Tracking of stock: FCS
Total shares now 0 at total cost 0.0
At$ 36.00 per share, profit is 0.0
I have been trying for days and nights , no compile error , but alot of NPEs error .......
Please help !!! I am working very hard to solve this assignment.
Thank you so so much in advance.
...
Did I do my buyThread and sellThread correctly? I know that my Test class is done wrongly.
Thank you. Is this the correct now?
I am doing a multi threading program . I am unable to get the output i want. I have no compilation error . But I cant get the result I , Null exception. Can someone please advise me ?
This is my...