Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    13
    Views
    2,591

    Re: Not sure what type of variable to use.

    Yes, you can assign the final variable a value in the constructor. How/where do you get the value?

    To get a unique value for each constructor, have a private static int that you increment each...
  2. Replies
    13
    Views
    2,591

    Re: Not sure what type of variable to use.

    Would the variable get the same value for all instances? If not, where would it get the unique value from?
Results 1 to 2 of 2