|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (8 bit)
Join Date: Feb 2001
Location: MN
Posts: 160
|
help on java about abstract class
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. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
Check out this link:
http://java.sun.com/docs/books/tutor.../abstract.html If you have questions post back. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|