Skip to content

Challenge try with resources

Objective

Implement try-with-resources where appropriate for resources management in Project 4.


Requirements

  1. Use try-with-resources for resource management.

Submission

  1. Push your code to GitHub

  2. Create an issue and name it "Challenge - Project4/Try-with-Resources".


Rubric

All of the following must be satisfied to achieve a "Met" status

  • Debugging & Problem-Solving: Code is free from errors.
  • Code Quality: Code is exceptionally clean, efficient, and maintainable. Follows best practices, coding standards, and programming principles.
  • Functionality: The code correctly handles resources with try-with-resources
  • Code Documentation: Proper JavaDoc is used.
  • External Sources: External sources (websites, classmates, AI tools, etc), if utilized, are referenced and documented within the code as comments.