Difference: CSC121F2023Lab12Hint2 (1 vs. 2)

Revision 22023-06-26 - cathybareiss

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="CSC121F2-23Lab12"
>
>
META TOPICPARENT name="CSC121F2023Lab12"
 

Hint for *Item.java

  • This is a very simple class. Follow the example(s) from class
  • Because equality and comparison is based on a string, you can just return the results of the string's comapreTo and equals.
\ No newline at end of file

Revision 12023-06-26 - cathybareiss

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CSC121F2-23Lab12"

Hint for *Item.java

  • This is a very simple class. Follow the example(s) from class
  • Because equality and comparison is based on a string, you can just return the results of the string's comapreTo and equals.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback