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.

Share Misconception: Students create a new object when they only need to copy a reference. with FacebookShare Misconception: Students create a new object when they only need to copy a reference. with Twitter
  • 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

Use note passing for explaining the difference between methods with no return (void methods) and methods with return to provide students with a relatable example.
Justify the reason that Java Strings are immutable by showing how Strings might be packed together in the heap to help students resolve incomplete understandings in their mental model.
Avoid using x and y as variable names to prevent students from confusing variable assignments with mathematical expressions.
  • CSTT Facebook
  • CSTT Twitter

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

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College