Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

When tracing through code in Java, use different colors for code that is executed in a main method versus in a class method.

  • This helps students solidify their understanding of where code actually gets executed in Java.

More about this tip

Tags

  • Java
  • CS 1
  • Intro Programming
External Source

Interview with Bob Luciano

Other Tips By
Other Tips By Bob Luciano

Similar tips

Have students implement a web-based driving game in JavaScript to pick up classmates, who appear as 2D avatars, within Google Earth and drop them off at their homes to show students that arrays and objects are applicable to real-world problems.
Teach students how to find built-in Java methods in the Javadocs documentation so they can are prepared to use this skill on the AP CS exam.
Emphasize the importance of documentation when working with spreadsheets or any programming language for future reference.

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Powered by Drupal.

Privacy Policy