1.4. Quiz

Quiz 1: Java Essentials

Coding

Testing

  • Create the LongIntegerQuizTest class under the test algebraic package.

  • Test the correctness of your LongIntegerQuiz using the unit tests.

  • Add more tests for a more thorough assessment if necessary.

Quizzes

  1. What is the advantage of using Generics?

  2. How do you make the class you define comparable?

  3. What is the advantage of overriding member methods in the Object class?

  4. What kind of methods should be defined as static?

Submission

1. Commit and push everything under the following packages to your GitHub repository:

2. Submit answers to the above quizzes to Canvas.

Last updated

©2023 Emory University - All rights reserved