Search:

Type: Posts; User: GregBrannon

Search: Search took 0.09 seconds.

  1. Replies
    10
    Views
    1,186

    Re: multiple classes problem

    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...
  2. Replies
    10
    Views
    1,186

    Re: multiple classes problem

    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...
  3. Replies
    10
    Views
    1,186

    Re: multiple classes problem

    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...
  4. Replies
    10
    Views
    1,186

    Re: multiple classes problem

    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...
Results 1 to 4 of 4