Credit Card Debt Consolidation | Mobile Phones | Loans | Loans | MPAA
help on java about abstract class [Archive] - PCMech Forums

PDA

View Full Version : help on java about abstract class


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.

aym
02-27-2003, 04:20 PM
Check out this link:
http://java.sun.com/docs/books/tutorial/java/javaOO/abstract.html
If you have questions post back.