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: If you consistently use the same variable names during class in lectures and examples, students may incorrectly assume objects in Java can only have those names.
Misconception: students struggle with scopes of variables and may not understand when a variable can be accessed and when it cannot be accessed.
Force students to explore inheritance and the Java APIs for ArrayList by writing code that HAS-A ArrayList or IS-A ArrayList.

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

Privacy Policy