Style Guide

There are many coding conventions and style guides for Java. We recommend this one from Twitter as it is sensible and comprehensive:

Twitter Style Guide

If you follow these, and add pre and post conditions as specified in the lecture, you will have a much easier time in the walkthroughs!!

For debugging: Click here to validate.