The Coder's Handbook
Table Of Contents
TABLE OF CONTENTS
Looking for more information? Log into your BCPS account and check the old edition!
UNIT ZERO SUMMER WORK
UNIT ONE JAVA BASICS
How to use the Coder's Handbook
Writing print statements and using escape characters
How to make your code readable and easier to debug
Understanding primitive types, using variables, and doing math.
Why we use constants and the dangers of magic numbers.
How to use conditionals, logical operators, and comparison operators.
Using the Scanner class to read input from the console
UNIT TWO REPETIION AND ARRAYS
How to write for loops, while loops, do-while loops, and control statements
How and why you might want to write a recursive method
How to use both one and two dimensional arrays
Learn about Big O Notation and how to search and sort efficiently
Using try, catch, and throw to handle errors
Consider three examples of how to read files using Scanner.
Learn about objects, classes, scope, constructors, this, public, private and static.
UNIT THREE GRAPHICS AND OOP
Setting Up Your Development Environment
How to draw shapes, change colors, and display text in Slick 2D
Adding Game States to your Slick2D Game project
How to use ArrayLists in Java
How to use for each loops to make your faster to write and easier to read
How to add an image to your Slick2D project
Save your project as a Runnable Jar to share with the world.
Stacks and Queues