The constants will be assigned as each instance of the Species class is created. There's no real "passing" of just the values as you've been saying. Here's a suggestion:
Step 1: In the Species...
Type: Posts; User: GregBrannon
The constants will be assigned as each instance of the Species class is created. There's no real "passing" of just the values as you've been saying. Here's a suggestion:
Step 1: In the Species...
Please do not start multiple threads on the same topic. Threads merged.
To be clear, state your requirements using the names of the two classes, Tester and Species.
What do you mean, "private...
Classes don't have return statements to other classes to 'return' values but the use of setter (mutator) methods can be used to pass values from the second class to the first. The second class needs...
Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.
Please post your code correctly using code or highlight tags...