Tag Archives: array

How to Remove Element from Java Array

The AP Computer Science A exam often asks students to resize an array, typically by removing some stuff from the array, stuff that doesn’t meet some kind of criteria. I have already gone over an AP styled question  here on this, but let’s now look at some more intuitive code for removing an element from … Continue reading How to Remove Element from Java Array →

AP Computer Science Array Practice Problem

The AP Computer Science A exam likes to ask questions along the lines of this code pictured below: Download Code The question is,.. what does the “mystery” method do to that input array ?…. What is the output ?   And the answer is… Scroll down a bit         [crayon-67682cd90fd94666313173/]   Yes, this … Continue reading AP Computer Science Array Practice Problem →