leepalao
02-26-2003, 06:37 AM
This really confuse me. I have 2 processes running, and I'm suppose to create an abstract class (which has the process ID) for those 2 processes. I can't seem to understand what to do with this. If anyone can give me an example on how abstract works, or point me to a nice link, that'll be helpful.
Also, let's say that process 1 has a variable num. My program will read from a text file some numbers, how do I make it read the number, and pass along to the class process 1 so that it can be equal to the variable num, and then insert into a queue? I think I'm more stuck on how to pass the numbers from the MAIN class to a different class. thanks.
oh, by the way, it's java.
Also, let's say that process 1 has a variable num. My program will read from a text file some numbers, how do I make it read the number, and pass along to the class process 1 so that it can be equal to the variable num, and then insert into a queue? I think I'm more stuck on how to pass the numbers from the MAIN class to a different class. thanks.
oh, by the way, it's java.