<p>Disclaimer - I’m currently taking the class on Florida Virtual School. However, the tests are all AP-style, and I’m 75% done with the entire class (I’ve finished OOP and am now working through algorithms).</p>
<p>The only way to get good at writing Java is, well, to practice writing Java. I went into this class with no programming experience, and now I’ve fallen in loving with coding. You need to practice. Intentionally write errors into the program to see how the compiler responds. Set some sort of project for yourself and then see if you can replicate it. When I first learned while loops, one of the assignments was to create a very simple “guess the number” game (the computer is thinking of a number, and you have to guess it with computer hints). I expanded the game significantly out of sheer interest and submitted that for the assignment, which really impressed my teacher and really helped my programming.</p>
<p>For GridWorld, write your own Actors. Practice a lot with extending the Actor, Bug, and Critter classes. Make your new Actors do insane things. For instance, the official CollegeBoard guide has you make things like ZBugs, CircleBugs, and Jumpers. Again, set yourself a goal and try to make that goal play out in your code. This will prepare you immensely for the FRQs.</p>
<p>For the multiple choice, your programming will help a LOT, but you have to be very, very good at going through a code excerpt and predicting how it will behave. You’ll often have to analyze results of trivial nested loops, obviously with no compiler. Use your pencil, and be smart.</p>
<p>Also, know and understand what you’re working with. I’ve seen quite a few practice problems where they’ll give you a few methods with hidden definitions, a main method, and ask you where the error in the main method occurs. Sure, you can write and track a nested loop that uses two-dimensional arrays, but if you don’t know the difference between a class method and an instance method, you’re going to have issues.</p>
<p>Summary - practice and understand.</p>