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.

Share Have students create a Burrito class in Java to practice object-oriented programming using an object they are familiar with. with FacebookShare Have students create a Burrito class in Java to practice object-oriented programming using an object they are familiar with. with Twitter
  • 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

Organize an activity where students make phone calls to their classmates with the goal of summing the numbers 1 through 6 in order to demonstrate recursion.
Use Car as an example of an interface because students agree on the general behaviors of a car but can only come up with specific instantiations of cars, which provides students with a strong mental model for interface relationships.
Assign students to draw a dodecagon in Scratch before introducing repeat blocks so that once you introduce the repeat block, it is clear that it is a time-saving block.
  • 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