emory-courses / dsa-java

Data Structures and Algorithms in Java
https://emory.gitbook.io/dsa-java/
42 stars 55 forks source link

[QZ1] warnings in code #38

Closed brendacano closed 4 years ago

brendacano commented 4 years ago

My code works fine however I have some warnings (shown in the image). Would these affect my grade negatively for quiz 1? They don't seem like a big deal to me but I want to be sure. 2020-09-12

lujiaying commented 4 years ago

According to https://emory.gitbook.io/dsa-java/java-essentials/exercises

Override the addDifferentSign() method so that the add() method in LongIntegerQuiz can handle integers with different signs.

Not sure if you implemented several constructor functions. But as long as your codes pass our test cases, warnings would not impact grades.

brendacano commented 4 years ago

According to https://emory.gitbook.io/dsa-java/java-essentials/exercises

Override the addDifferentSign() method so that the add() method in LongIntegerQuiz can handle integers with different signs.

Not sure if you implemented several constructor functions. But as long as your codes pass our test cases, warnings would not impact grades.

Thank you, all the tests were passed with my code.