AC3.3 uses the Google Java Style Guide for all Java code. Students should be familiar with this style and format Java code accordingly in all exercises, projects, homework submissions, and assessments.
- Line length limited to 100 characters.
- Two-space indent. No tabs.
- Spaces around operators.
- Space after
if,for,while. - Use
{and}even for one-line blocks. - Opening
{on the same line. } elseon the same line.- Uppercase
CamelCasefor class names. - Lowercase
camelCasefor variable names. UPPERCASE_WITH_UNDERSCORESfor constant names.alllowercasefor package names.
- Coding Bat - Java warmup problems
- Programming By Doing - Java problems across a range of difficulties
- Project Euler - mathematical programming problems
- HackerRank - competitive code challenges
- Coderbyte - code challenges and tutorials
- Practice-It - multiple choice and open-ended questions
- Interactive - try.github.io
- Reading - Learn Version Control with Git
- Video - Learn Version Control with Git
- Quick Reference - Git Docs