This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes problem on: passing parameter that it only reads as null for every value (full code) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply locked New topic
Author

problem on: passing parameter that it only reads as null for every value (full code)

Sara Brown
Ranch Hand

Joined: Feb 22, 2012
Posts: 55
this is my program..please do help.

It does not passing the parameter that i hope and keep read as null only the object works properly.

and return numThread in the operation class which i bold, also passing the null value


*p/s: i bold some of the code that might be error..*



MainClass.java



operation.java

Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1502
    
    5

Hi Sara Brown,
It seems that this is the same question going on in another thread (started by you).

I would suggest to close this thread and take a look at Steve Luke's reply on original post.

I hope this helps.


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Yes, that's right. Let's keep the discussion all in one place. For those interested, the active thread is here: http://www.coderanch.com/t/573713/threads/java/passing-parameter-it-only-reads and I will close this one.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem on: passing parameter that it only reads as null for every value (full code)
 
Similar Threads
Executors in Threads
Java program for fibanocci using Java threads
Getting return value using Callable and Future
Thread (maintain current thread)
problem on: passing parameter that it only reads as null for every value