Search:

Type: Posts; User: GregBrannon

Search: Search took 0.08 seconds.

  1. Thread: Lab 14

    by GregBrannon
    Replies
    20
    Views
    2,582

    Re: Lab 14

    I want to emphasize anbin's point: a getter method to obtain the variable this' value is called getThis and a setter method to store a value in the variable 'this' is called setThis(). The naming is...
  2. Thread: Lab 14

    by GregBrannon
    Replies
    20
    Views
    2,582

    Re: Lab 14

    Well, you're way beyond the starting line - that's a good thing - and you're finally showing some progress. Except for inconsistent capitalization (not wrong, just annoying), random code indentation...
  3. Thread: Lab 14

    by GregBrannon
    Replies
    20
    Views
    2,582

    Re: Lab 14

    So there are two parts to the first statement you posted, declaration and initialization. Take that thought and go back to your first statement in post #12, reread, rethink.
  4. Thread: Lab 14

    by GregBrannon
    Replies
    20
    Views
    2,582

    Re: Lab 14

    Why are you collecting programming 'ideas' from multiple sources? Some of those ideas may be good, others not so good, but you've demonstrated that you can't tell the difference or that you can't...
  5. Thread: Lab 14

    by GregBrannon
    Replies
    20
    Views
    2,582

    Re: Lab 14

    You've made no progress that I can see. What are findStreet, findCity, findState, and findZip? And how will this work:

    public void setStreet(int newStreet) {

    street = newStreet;

    ...
  6. Thread: Lab 14

    by GregBrannon
    Replies
    20
    Views
    2,582

    Re: Lab 14

    It's not annoying that you keep posting - that's what a forum is for. It is annoying or frustrating that we've told you repeatedly what getter/accessor and setter/mutator methods are, shown you...
Results 1 to 6 of 6