Skip to main content
CS Teaching Tips

Main navigation

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

Have students write many small, simple classes in Java to scaffold their learning of the basics of object-oriented programming.

Share Have students write many small, simple classes in Java to scaffold their learning of the basics of object-oriented programming. with FacebookShare Have students write many small, simple classes in Java to scaffold their learning of the basics of object-oriented programming. with Twitter
  • Increase the complexity of the classes you write with your students as you move through the course.
    • For example, the first class you write should only contain one instance variable and one method.
    • After writing a class as a group, assign adding to or modifying the class for homework.
      • For instance, students could modify a method or add an instance variable.

More about this tip

Tags

  • Java
  • CS 1
  • Intro Programming
External Source
Interview with Josh Pudaloff
Other Tips By
Other Tips By Josh Pudaloff

Similar tips

Misconception: students develop the habit of putting the type in front of variables; they don’t realize that this creates a new variable resulting in lots of variables with the same name.
Tell students they have to believe that some things just work before they will understand why it works because they need exposure to a lot of material before some concepts make sense individually.
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