Your code is expected to follow the guidelines below. If you do not follow these guidelines you will receive a deduction on your assignment score:

  1. Use lower-case letters to begin a variable or method name.
  2. Use upper-case letters to begin a class name.
  3. Use camelCase not_underscores.
  4. Be consistent with spacing. variable= new Something() is not good. variable = new Something() is much better.
  5. Be consistent with your use of the this keyword, especially in constructors.
  6. Use try-with-resources where possible.
  7. Use private data members unless there is a good reason to do otherwise.
  8. Make sure use proper indentation in all classes.
  9. Do not catch unchecked exceptions unless there is a very good reason. Instead, try to use conditionals appropriately to avoid unchecked (e.g., NullPointer) exceptions.
  10. Do not replicate code unless there is a very good reason.
  11. Document all of the methods and classes you create.