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

Emphasize to students that in CSS id is typically more specific than class, as beginners often struggle to disambiguate these attributes.
Encourage students to work on side projects to make sure they are getting enough programming practice and to make them more marketable.
Have students write many small, simple classes in Java to scaffold their learning of the basics of object-oriented programming.

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

Privacy Policy