Skip to main content
CS Teaching Tips

Main navigation

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

Have students translate between Java Array and ArrayList to highlight the differences between the two.

  • Note from CS Teaching Tips: Check out Java67’s entry on the differences between Array and ArrayList for more information.

More about this tip

Tags

  • Java
  • Data Structures
  • Programming Concepts
External Source

Interview with Helen Hu.

Other Tips By
Other Tips By Helen Hu

Similar tips

Misconception: Students who first learn object-oriented programming in Python don’t realize they need to explicitly define instance variables in Java because this is done implicitly in Python.
Use scoreboards to motivate the use of variables because young students have developed strong mental models for scoreboards through previous exposure allowing them to quickly understand what variables are.
Have students brainstorm about the data structure Pandora uses for playlists to help motivate arraylists or linked lists through comparison to everyday life.

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

Privacy Policy