Advantages of Object-Oriented Programming
This activity is designed to be used after when students learn how to define a class, how to create an object for a class, and how to invoke instance methods for an object. At this point, students may not have developed the correct mental model of the mechanism that enables the object-oriented programming. Through this activity, students will learn how objects are stored, what a reference variable is, and how information of an object is passed at method invocations. Students will develop an understanding why these mechanisms are the advantages of object-oriented programming.
This activity was developed with NSF support through IUSE-1626765. You may request access to this activity via the following link: IntroCS-POGIL Activity Writing Program.
Activity Type: Learning Cycle
Discipline: Computer Science
Keywords: Object-oriented programming, reference variable, implicit parameter
How to Cite
Copyright of this work and the permissions granted to users of the PAC are defined in the PAC Activity User License.