Search:

Type: Posts; User: GoodbyeWorld

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    932

    Re: Help on this class. Almost done

    Call your setter methods.

    setOpponent(opponent);

    in your constructor.

    You will need to construct a new date object using your five int params and pass it to your setDate() method.
    ...
  2. Replies
    5
    Views
    932

    Re: Help on this class. Almost done

    You can't just use the - operator for things that aren't primitives. (The String class lets you use the + operator but that's beside the point.)


    This isn't C++.

    You can't subtract one...
Results 1 to 2 of 2