Search:

Type: Posts; User: jim829

Search: Search took 0.10 seconds.

  1. Thread: constructor

    by jim829
    Replies
    11
    Views
    1,241

    Re: constructor

    You're welcome. And for example, all of your double prodValues, etc are instance fields.

    Regards,
    Jim
  2. Thread: constructor

    by jim829
    Replies
    11
    Views
    1,241

    Re: constructor

    In your methods where you prompt for the input, don't declare the values in the method. Use instance fields in your class. For example declare int a, b in your class, and then simply set a and b in...
Results 1 to 2 of 2