Have students instantiate personal hall pass objects when they wish to leave the classroom to help them learn that the values passed to a constructor have to match the number, type, and order of the arguments in the method signature.
Show the class different ways nations choose their next monarch to illustrate pre-order and level order traversals as students visualize tree traversal methods.
Use popular, repetitive music to teach loops in a beginning course because this motivates the purpose and application of loops while keeping students engaged by referencing popular culture.
Reinforce introductory drawing in Processing by having students draw a simple logo students are familiar because using a recognized cultural icon students helps keep students motivated.
Teach these four Scanner methods that allow students to write interesting code at the beginning of an introductory Java course to give students a feel for programming without overwhelming them.
Relate how cool it would be to have the entire dictionary for another language put into your head to importing libraries in Java to help students make sense of this abstract concept.
Teach simple Java with graphics first using the Draw/Roll Die activity, having students call objects and methods before defining their own, for an engaging way to reinforce material.
Use Easter eggs and a seed sorter to teach arrays of objects because students find arrays of objects hard and need the additional scaffolding.
Have the class make instructions for a Robot class you created that will bring Chipotle back to the classroom to motivate instructions and method sequencing.