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 get confused with object-oriented programming in Python because function declarations explicitly take self as an argument, but function calls don’t use self as argument.
Explain recursion with the example of determining your row in a stadium by asking the row in front of your what row it is… asking until you get to the first row, the base case.
Use a diagram with variable-value pairs for each call of a recursive function to help students see the change of control flow as calls are made and completed.

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

Privacy Policy