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: In Java, students don’t realize that methods are inherited, but constructors are not.
Misconception: The update in the index in a for loop (i.e., the third part of the for loop control statement) happens after the all the steps inside of the loop have happened.
Have students instantiate personal hall pass objects when they wish to leave the classroom to help them learn that the values passed to a constructor have to match the number, type, and order of the arguments in the method signature.

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

Privacy Policy