Skip to main content
CS Teaching Tips

Main navigation

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

Misconception: Students create a new object when they only need to copy a reference.

  • The opposite case is also common: students may copy a reference when they need to create a new object.

More about this tip

Tags

  • Content Misconceptions
  • CS 1
  • Intro Programming
External Source

"Exploring programming misconceptions: an analysis of student mistakes in visual program simulation exercises" by Teemu Sirkiä and Juha Sorva.

Other Tips By
Other Tips By Teemu Sirkiä
Teemu Sirkiä

Similar tips

Misconception: Students create a new instance variable when they only need a local variable.
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.
Don’t allow repeat variable names in intro courses to avoid confusion about different variables with the same name.

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

Privacy Policy