Search:

Type: Posts; User: curmudgeon

Search: Search took 0.09 seconds.

  1. Re: Some help with an assignment based on crc cards

    That's a tough one and goes against what I stated previously. If this were my program, I wouldn't have this method, but instead would have alternative Strings that the user could enter in to retrieve...
  2. Re: Some help with an assignment based on crc cards

    We all can help, but you'll need to show us your attempts first, same as before.
  3. Re: Some help with an assignment based on crc cards

    Yes, but this is not the Profile class's responsibility. All Profile is responsible for is holding the state of the user's profile and having simple methods -- getter and setter methods and whatnot...
  4. Re: Some help with an assignment based on crc cards

    Methods have certain behaviors. For instance, changePass will accept a String (for a weak password program) and use that String to change the password property -- that's its behavior.



    No, I ...
  5. Re: Some help with an assignment based on crc cards

    Not so much disrespect, but rather not posting this will greatly decrease your chances of getting help.

    OK, regarding the methods,
    changePass()
    authenticate()
    forgotPass()

    What do you...
  6. Re: Some help with an assignment based on crc cards

    The link is flagged by my anti-virus as being malicious. Regardless,

    all links carry the risk for being malicious, and many here won't click on them for that reason.
    You're the one asking help...
  7. Re: Some help with an assignment based on crc cards

    If you're going to post information, post it as text here in the forum, not as a link.
  8. Re: Some help with an assignment based on crc cards

    The code for the methods will all depend on the behaviors that these methods should have. So I think you'll need to tell and show more for us to better understand the problem and be able to help you.
  9. Re: Some help with an assignment based on crc cards

    That sounds like a good plan. Again, good luck!
  10. Re: Some help with an assignment based on crc cards

    attributes are almost always private, occasionally protected and rarely public. Make them private.
    getters and setters are almost always public.



    :rolleyes: uh oh, you'd better read up on...
Results 1 to 10 of 10