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

Meet with students one-on-one to help them develop a Java class in order to clarify basic concepts and increase their confidence with object-oriented programming.
Reward code solutions that have the correct thinking and steps behind them, as this can often be reassuring for students.
Based on Khan Academy’s internal observations, use text-based languages in class for students who are at least 12 years old to begin giving them experience with syntax.

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

Privacy Policy