Search:

Type: Posts; User: curmudgeon

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    1,363

    [SOLVED] Re: Homework Question

    this.<identifier_name> specifies that the identifier is a field of the class since it belongs to "this", to the instance of the class. That is why often you'll see setter methods that look like so:
    ...
  2. Replies
    5
    Views
    1,363

    [SOLVED] Re: Homework Question

    Hint #2, you would precede one of the variables with <something>.number. Please fill in the blank: What is <something>?
  3. Replies
    5
    Views
    1,363

    [SOLVED] Re: Homework Question

    You have two variables with the same name, one is a class field and the other a parameter to a method, and you must tell the compiler which is which. You can specify the class field by preceding it...
Results 1 to 3 of 3