Skip to main content
CS Teaching Tips

Main navigation

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

Misconception: Students don’t realize that the keyword return causes Java to leave the current method.

  • Make sure your students know that any code inside their methods placed under the keyword return will not execute!

More about this tip

Tags

  • Java
  • Development Methods
  • Content Misconceptions
External Source

Interview with Serita Nelesen.

Other Tips By
Other Tips By Serita Nelesen

Similar tips

Misconception: When students trace through recursive code, they have trouble figuring out if operations are done before or after the recursive call.
Define programming language terms independently of computer terminology to make concepts more accessible to students.
Start teaching Scratch with blocks that run for a set amount of time to avoid the common misconception that blocks are executed simultaneously.

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

Privacy Policy