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.

Share Have students translate between Java Array and ArrayList to highlight the differences between the two. with FacebookShare Have students translate between Java Array and ArrayList to highlight the differences between the two. with Twitter
  • 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 sometimes struggle to identify where in a loop variable values get changed.
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.
Demonstrate swapping variables' values by swapping the contents of two cups full of liquid; you need a third cup to swap the liquids just like you need a third, temporary, variable to swap the values.
  • 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