The Java code visualizer runs Java code one line at a time and shows how variables, objects and method calls change at each step. Choose an example or edit the code, start the visualizer, then step forward and back through the run.