Thursday, February 10, 2011

Thursday's labtest: Power is on in CSEB

The computer science and engineering building is not affected by the current power outage.  The Thursday labtest will go ahead as scheduled.

5 comments:

  1. For the equals method in the class MutableCircle (Jan 28)

    Is

    if ((this.radius==c.radius)
    &&((this.p).equals(c.p)))
    {
    return true;
    }

    the same as

    if ((this.radius==c.radius)
    &&((c.p).equals(this.p)))
    {
    return true;
    }

    ?

    ReplyDelete
  2. In short, Yes.

    Long version:
    Because c.p uses the same method (.equals() of the class Point) as this.p, it's essentially like saying if Hannah = Miley, then Miley = Hannah...

    No, I have no idea why Hannah Montana came to mind first instead of Bruce Wayne/Batman.

    ReplyDelete
  3. You could have switched names before posting, mate. bWayne and batman is definitely a lot cooler =)

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. When will we get our critiqued lab exercises back?

    Thanks.

    ReplyDelete