How To Read/Trace Recursive Methods

So, recursion, one of the hardest units in APCS. The concept is pretty easy but the execution is a bit trickier. Today, I'm going to pass on a trick that my teacher taught me on how to trace your way through a recursion problem. I'm going to assume that y'all already know what recursion is…

APCS Chapter 6: 2D Arrays and ArrayLists

Alright, it's time to tackle 2D arrays and arrayLists. 2D arrays are basically arrays of arrays. First off, 2D arrays: 2D Arrays To start off with, the declaration and instantiation. Since 2D arrays are objects, we will use the new operator. There are several ways to do this: The "normal" way:data type [] [] name = new data type…

AP Com Sci Chapter 2 Lab Review

This lab review goes over three labs within Chapter 2: the base conversion lab, the circle lab and the string manipulation lab. Even if you aren't an AP Comp Sci student, if you are learning Java and want some practice, these lab reviews are a good resource. Chapter 2 covers the concept of objects and primitive data.