Skip to main content
CS Teaching Tips

Main navigation

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

Have students create a Burrito class in Java to practice object-oriented programming using an object they are familiar with.

  • Note from the CS Teaching Tips Team: Use instance variables to represent burrito ingredients.
    • Students can create methods for adding these ingredients that modify these instance variables

More about this tip

Tags

  • Java
  • Meaningful and Relevant Content
  • CS 1
  • Intro Programming
External Source
Interview with Josh Pudaloff
Other Tips By
Other Tips By Josh Pudaloff

Similar tips

Show students explicitly how objects and variables might have other names (i.e., aliasing) to help students understand that variable names don’t have to match parameter names because students often find this confusing.
Allocate the last 15 minutes of class for students to share their work with each other in beginning Scratch classes because students enjoy seeing each others projects and demonstrating their progress.
Explicitly discuss the lack of bounds-checking in C-based courses to avoid student confusion when using strings and arrays.

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

Privacy Policy