Refactoring (part 11)

  • 14
  • Locked
11.1. Replace an error code with an exception. Rewrite the fill(double numberOfGallons) method to throw an Exception if there is an error. 11.2. Decompose a conditional expression. 11.2.1. Add and implement a method in the Car class that determines whether the passed date belongs to summer.
You can't complete this task, because you're not signed in.
Comments
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet