Tuesday, January 19, 2010

HW1 Test File

http://cs.winona.edu/faculty/nanderson/341-s10/HW1Test.txt

The file will need to be renamed with a .java extension. Please post here if any issues are found with the file.

4 comments:

  1. In the test file i found you use setUserName and then use getUsername...

    I adjusted my testfile so my OCD doesn't get the best of me. Is that okay? Can I turn it in with the adjusted testfile?

    ReplyDelete
  2. I assume you mean the capitalization. If that is what you modified, that is fine.

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

    ReplyDelete
  4. Thanks for the reply. One last question about these lines.

    Item i1 = new Item("laptop", "MacBook Pro", 0, 400);

    s1.addItem(Item i1);


    The way I have things set up
    s1.addItem(i1);
    would make a lot more sense.

    But to be honest if there is an
    important reason that it should be s1.addItem(Item i1); I wouldn't be suprised.
    I'm pretty rusty and having trouble
    remembering a lot of things. Please let me
    know if this adjustment would be allowed or not and I will do my best to adjust it if necessary.

    ReplyDelete