Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-26-2003, 05:37 AM   #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.
leepalao is offline   Reply With Quote
Old 02-27-2003, 03:20 PM   #2
aym
Registered User
 
aym's Avatar
 
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.
aym is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:30 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2