Search:

Type: Posts; User: tanchiwoo

Search: Search took 0.10 seconds.

  1. Re: MuliThreading Unable to get outputs but many NPES.....

    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...
  2. Re: MuliThreading Unable to get outputs but many NPES.....

    But Still , i dont know why it show me NPEs on line 21 ...... I thought I did the correct way
  3. Re: MuliThreading Unable to get outputs but many NPES.....

    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...
  4. Re: MuliThreading Unable to get outputs but many NPES.....

    Hi Sir, I dont know how to read....... Can you tell me which line have problems? Or which variables I point wrongly ?
  5. Re: MuliThreading Unable to get outputs but many NPES.....

    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
  6. MuliThreading Unable to get outputs but many NPES.....

    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.
    ...
  7. Replies
    5
    Views
    977

    Re: Java MutiThreading Stock

    Did I do my buyThread and sellThread correctly? I know that my Test class is done wrongly.
  8. Replies
    5
    Views
    977

    Re: Java MutiThreading Stock

    Thank you. Is this the correct now?
  9. Replies
    5
    Views
    977

    Java MutiThreading Stock

    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...
Results 1 to 9 of 10