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

Use tupperware containers and act out being the computer to teach students how in CS variables and statements like x=x+1 are different than variables and equations in math by creating a meaningful visualization.
Show students examples of unreachable code to help them reason about how conditionals are executed.
Introduce “base-case” and “smaller-caller” as a helpful way for students to remember the different parts of recursion.
  • 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